Uploaded image for project: 'Lucee Development'
  1. LDEV-1256

parseDateTime doesn't work with offsets greater than 12 hours

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2.41
    • Environment:

      Mac via a Docker container. Though replicated using http://trycf.com/ as well.

    • Sprint:
      May-June 2017 Sprint

      Description

      Lucee sees timezones greater than 12 hours (e.g. Tonga) as invalid date objects meaning you cannot use parseDateTime()

      <cfset string = "2017-03-03T19:20:30+13:00">
      <cfset date = parseDateTime(string, "yyyy-MM-dd'T'HH:mm:ssX")>

        Attachments

          Activity

            People

            • Assignee:
              21solutions Igal Sapir
              Reporter:
              andy.jarrett Andy Jarrett
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: