[bug #68526] datestr should support RFC 3339 formats by defaults
Francesco Potortì <[email protected]> Tue, 14 Jul 2026 06:33:55 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============7128296613216764277==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK
--===============7128296613216764277==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1714636915-1784025235=:1883824"
Content-Disposition: inline
--8323329-1714636915-1784025235=:1883824
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?68526>=0A=0A Summa=
ry: datestr should support RFC 3339 formats by defaults=0A =
Group: GNU Octave=0A Submitter: pot=0A Submit=
ted: Tue 14 Jul 2026 12:33:51 PM CEST=0A Category: Octave Fu=
nction=0A Severity: 3 - Normal=0A Priority: 5=
- Normal=0A Item Group: Feature Request=0A S=
tatus: None=0A Assigned to: None=0A Originator Name:=0A=
Originator Email:=0A Open/Closed: Open=0A Discu=
ssion Lock: Unlocked=0A Release: 10.3.0=0A Operating=
System: Any=0A Fixed Release: None=0A Planned Release: N=
one=0A=0A=0A _______________________________________________________=0A=
=0AFollow-up Comments:=0A=0A=0A--------------------------------------------=
-----------=0ADate: Tue 14 Jul 2026 12:33:51 PM CEST By: Francesco Potort=
=C3=AC <pot>=0AFor some reason, datestr does not support by default the RFC=
3339 format.=0A=0AThis is a request to add a couple default format string =
to parse them. For=0Aexample, the strings mentioned in the=0A[https://data=
tracker.ietf.org/doc/html/rfc3339#section-5.8 5.8. Examples=0Asection of RF=
C 3339] should be parsed by default:=0A=0A- 2026-07-14T10:22:44Z=0A- 2026-0=
7-14T12:22:44+02:00=0A=0AA fractional part following the seconds should be =
parsed as well by default:=0A=0A- 2026-07-14T10:22:44.765622Z=0A- 2026-07-1=
4T12:22:44.765622+02:00=0A=0A=0A=0A=0A=0A=0A=0A=0A _____________________=
__________________________________=0A=0AReply to this item at:=0A=0A <http=
s://savannah.gnu.org/bugs/?68526>=0A=0A____________________________________=
___________=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1784025235=:1883824
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalYQkwAKCRCqLAuaBUf3
TnaXAQDLd3iA9AGc+k+uff29ifkfFuaIBpSqF2hl5T8gvcm7/QD+KnVUfnpPS2Xv
I5eUDx/JDSgn7R2NwEfpHNKYlS/WnAo=
=kRkm
-----END PGP SIGNATURE-----
--8323329-1714636915-1784025235=:1883824--
--===============7128296613216764277==--