epicsTime_localtime() currently reports daylight saving time incorrectly on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Low
|
mdavidsaver | ||
3.14 |
Fix Released
|
Undecided
|
Unassigned | ||
3.15 |
Fix Released
|
Undecided
|
Unassigned | ||
3.16 |
Fix Released
|
Low
|
mdavidsaver |
Bug Description
Freddie Akeroyd reports:
I've noticed that the "tm_isdst" member of the "struct tm" returned by the Win32 implementation of epicsTime_
memcpy(pTM, localtime(
as on WIN32 the localtime() function uses thread local storage rather than global static storage (though the same TLS is shared with gmtime() )
Related branches
- Andrew Johnson: Approve
- mdavidsaver: Needs Information
-
Diff: 305 lines (+137/-133)3 files modifiedsrc/libCom/osi/os/WIN32/osdTime.cpp (+16/-133)
src/libCom/test/Makefile (+4/-0)
src/libCom/test/epicsTimeZoneTest.c (+117/-0)
Changed in epics-base: | |
status: | Confirmed → In Progress |
Changed in epics-base: | |
status: | In Progress → Fix Committed |
Changed in epics-base: | |
milestone: | 3.14.branch → 3.14.12.6 |