Skip to content
Snippets Groups Projects
Commit 88148e0d authored by rswindell's avatar rswindell
Browse files

Fix: xpDateTime_to_time() would convert an xpDateTime_t which was in UTC

to the local timezone equivalent (not adjusting for offset). Now using timegm()
(aka mkgmtime()) to fix this scenario. Times in zones other than the local time
zone or UTC are explicitly not supported by this function now (returns
INVALID_TIME in that scenario).
parent c43eef30
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment