0 Replies Latest reply on Feb 13, 2011 4:26 PM by johnrellis

    Bug: LrDate.timeFromComponents won't accept "local" as timeZone

    johnrellis Most Valuable Participant

      The LR 3.0 SDK API Reference says about the "timeZone" parameter of LrDate.timeFromComponents:

       

      (number, string, Boolean) The string "local" or true to use the local time zone, or an explicit time zone...

       

      But in fact, passing "local" or true as the timeZone is treated the same as UTC.  You need to pass the value of LrDate.timeZone ().  I've reported this.