Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Processors
    • Labels:
      None

      Description

      The configurable date format functionality in TsProcessor does the following to extract the date text to parse when a date regex isn't set:

      recordEntry.substring(0, sdf.toPattern().length());

      The problem with this approach is that some date formats aren't the same length as their corresponding text string and sdf.toPattern().length() produces the length of the former, not the latter. As an example the z format letter produces a timezone like 'PDT'.

        Activity

        Hide
        asrabkin Ari Rabkin added a comment -

        +1 to commit. Barring objections, will do so tomorrow.

        Show
        asrabkin Ari Rabkin added a comment - +1 to commit. Barring objections, will do so tomorrow.

          People

          • Assignee:
            billgraham Bill Graham
            Reporter:
            billgraham Bill Graham
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development