[ 
https://issues.apache.org/jira/browse/QUARKS-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353175#comment-15353175
 ] 

ASF GitHub Bot commented on QUARKS-213:
---------------------------------------

GitHub user dlaboss opened a pull request:

    https://github.com/apache/incubator-quarks/pull/155

    [QUARKS-213] Fix textFileWriter generated file names (day-in-month)

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dlaboss/incubator-quarks 
quarks-213-testFileWriterFileNames

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-quarks/pull/155.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #155
    
----
commit 435634823cd5af1c1ba1091d0643cec3f1b53ee9
Author: Dale LaBossiere <[email protected]>
Date:   2016-06-28T15:11:06Z

    [QUARKS-213] Fix textFileWriter generated file names (day-in-month)

----


> textFileWriter is naming rolling log files with day-in-year not day-in-month
> ----------------------------------------------------------------------------
>
>                 Key: QUARKS-213
>                 URL: https://issues.apache.org/jira/browse/QUARKS-213
>             Project: Quarks
>          Issue Type: Bug
>          Components: Connectors
>            Reporter: Dale LaBossiere
>            Assignee: Dale LaBossiere
>            Priority: Minor
>              Labels: newbie
>
> FileStreams.textFileWriter() is generating a name like:  
> scannerReadings_201606179_150021
> Notice the "179".  It should be "27" - it's June 27th.  The "179" is the 
> number of the day in the year instead of the month.
> FileWriterPolicy.ymdhms() needs to specify "dd" instead of "DD" in its 
> SimpleDataFormat() pattern.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to