Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13538

Globalization plugin on Android returns wrong DST

    XMLWordPrintableJSON

Details

    Description

      It seems like the globalization plugin is reporting a wrong Daylight Saving Time data.
      Example:
      today is 6 november 2017. In Paris there is GMT+1 TimeZone and Daylight Saving time is disabled (switched off, on sunday 29 october 2017).
      The plugin instead of returning the following data:
      utc_offset: 3600
      dst_offset: 0
      is returning this data:
      utc_offset: 3600
      dst_offset: 3600

      On IOS it is working as expected:
      utc_offset: 3600
      dst_offset: 0
      (btw: on IOS there is a different issue when DST is active. Maybe will be discussed on another issue).

      Anybody knows this issue and working on it?
      Thankyou
      Carlo

      Attachments

        Activity

          People

            Unassigned Unassigned
            carlo318 Carlo Gi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: