[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9964] datevec.m: add some fairly often se
From: |
Philip Nienhuis |
Subject: |
[Octave-patch-tracker] [patch #9964] datevec.m: add some fairly often seen date/time formats |
Date: |
Sat, 5 Aug 2023 15:36:51 -0400 (EDT) |
Follow-up Comment #5, patch #9964 (project octave):
Thanks Markus :-)
Yeah "contemporary" is a bit loosely, I didn't even realize these formats were
standardized somewhere - but yes I could/should have expected that. Maybe be a
reason to also add support for more yet unsupported formats. S/th for later
on, once I hit them in the wild.
As to
> It shouldn't be possible for a variable to be undefined after it was used on
the left-hand-side of an assignment.
ISTR that exactly that was the case - not so much "used" but more like
"untouched". In my investigations strptime() seemed to simply ignore the
second output arg. But OTOH I might have put the pertinent lines there just to
be sure. Some years ago I hit several other issues (related to daylight
saving) with strptime (mostly because parts of its output can be
"implementation-defined") so yes with those reminiscences I may have had some
brute force in mind :-)
But anyway the patched datevec.m works fine on my Windows boxen (where I hit
this issue) so indeed that part doesn't seem required.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?9964>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/