Incorrect transition times in std::chrono::time_zone::get_info()

Edward Welbourne edward.welbourne@qt.io
Fri Jul 26 13:31:03 GMT 2024


On Fri, 26 Jul 2024 at 14:08, Edward Welbourne <edward.welbourne@qt.io> wrote:
>> Sounds like there's no point me fighting my way past the "User
>> account creation has been restricted" that I hit when trying to
>> create an account, then, since you already have it in your sights.

Jonathan Wakely (26 July 2024 15:13) replied:
> Literally all you need to do is send an email to the address it says
> to send an email to (and then somebody, often me, will create the
> account).

and then securely keep track of my account details, for the sake of one
bug report which I now know to be already known about.  I'd rather not
create another account that'll inevitably soon be dormant.

>> so I guess you're working with a pre-digested form of it.

> We use the /usr/share/zoneinfo/tzdata.zi file.

Even more runic, but saves on all the comments, so easier to parse.

>> the default - but I don't know what the actual rule is.  The only
>> documentation I can find is the tz-how-to.html in the tz repo [0] and
>> it's a bit incomplete.

> See `man zic`

ah, right.  UNTIL is specified with optional fields,

     The month, day, and time of day have the same format as the IN, ON,
     and AT fields of a rule; trailing fields can be omitted, and
     default to the earliest possible value for the missing fields.

and AT defaults to wall clock time (i.e. zone time), so indeed midnight
local time is the default.

	Eddy.


More information about the Libstdc++ mailing list