Uploaded image for project: 'Edgent'
  1. Edgent
  2. EDGENT-213

textFileWriter is naming rolling log files with day-in-year not day-in-month

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Connectors

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dlaboss Dale LaBossiere
              dlaboss Dale LaBossiere
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: