Loading ...
Sorry, an error occurred while loading the content.

Re:str2time returns bad result for timezone MST7MDT during daylight tim

Expand Messages
  • andy_bach@wiwb.uscourts.gov
    Date::Parse uses Time::Zone and the tz_offset() function which seems to have a problem: $ perl -le use Time::Zone; for $tz ( CST , CDT , CST6CDT ) {print
    Message 1 of 1 , Apr 2, 2010
    • 0 Attachment
      Date::Parse uses Time::Zone and the tz_offset() function which seems to
      have a problem:
      $ perl -le 'use Time::Zone; for $tz ("CST", "CDT", "CST6CDT") {print
      tz2zone($tz), " ", tz_offset($tz)}'
      CST -21600
      CDT -18000
      CDT

      w/ the 2/3 part TZ designation.

      a
      ----------------------
      Andy Bach
      Systems Mangler
      Internet: andy_bach@...
      Voice: (608) 261-5738;
      Cell: (608) 658-1890

      Any sufficiently advanced bug is indistinguishable
      from a feature. -- Rich Kulawiec

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.