Document that wxGetTimeZone() doesn't account for DST

This is intentional and won't be changed, although we could, perhaps,
add a wxGetDST() function or similar to make it easier to take DST into
account as well.

Closes #22399.
This commit is contained in:
Vadim Zeitlin 2022-05-08 16:18:29 +02:00
parent b6fb5109c0
commit 937fa42d10

View file

@ -13,6 +13,9 @@
/**
Returns the difference between UTC and local time in seconds.
This function intentionally doesn't take DST into account, i.e. the offset
returned is the same one independently of when the function is called.
@header{wx/time.h}
*/
int wxGetTimeZone();