What is the correct way, if any, to assert whether a tz::TimeZone is UTC or equivalent to UTC? #345
-
|
I am asking because on some systems (I only succeeded in reproducing this on a Windows Github Actions VM), But in some function I am writing, I am given a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
I think the intent here is that getting UTC always gives you the UTC constant. Can you share an example of when that is not true? Otherwise, if you want to know if a time zone is always a fixed offset of zero, you can use |
Beta Was this translation helpful? Give feedback.
Yup, probably a bug.