0 Replies Latest reply: Feb 13, 2011 4:26 PM by John R. Ellis RSS

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

    John R. Ellis CommunityMVP

      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.