Summary: Issue with SYSTEMTIME2d_time daylightSavingTA()
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Robert <> 2010-10-31 06:26:46 PDT ---
The last two parameters to dateFromNthWeekdayOfMonth should be swapped in
          auto mday = dateFromNthWeekdayOfMonth(year,
                    st.wMonth, st.wDay, st.wDayOfWeek);
should be:
          auto mday = dateFromNthWeekdayOfMonth(year,
                    st.wMonth, st.wDayOfWeek, st.wDay);

Also, daylightSavingTA() is calling the Windows API GetTimeZoneInformation(),
which returns the time in LOCAL time, but I believe it is assuming that it is
UTC time.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to