grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Support dates outside of 1901..2038 range
@ 2025-08-26  3:17 Andrew Hamilton
  2025-08-26  3:17 ` [PATCH v4 1/2] datetime: " Andrew Hamilton
  2025-08-26  3:17 ` [PATCH v4 2/2] date_unit_test: test dates outside of 32-bit unix range Andrew Hamilton
  0 siblings, 2 replies; 9+ messages in thread
From: Andrew Hamilton @ 2025-08-26  3:17 UTC (permalink / raw)
  To: grub-devel
  Cc: daniel.kiper, masayuki.moriyama, andrea.biardi, phcoder,
	Andrew Hamilton

Support dates outside of 1901..2038.
Add tests for dates outside this range.
Vast majority of the work was done by Vladimir Serbinenko

Fixes: https://savannah.gnu.org/bugs/?63894
Fixes: https://savannah.gnu.org/bugs/?66301

V3 -> V4: Add additional commentary for a few magic numbers
 and fix some coding standard issues.

V2 -> V3: Added additional commentary to datetime.c to describe
 the origin of some of the numbers used in calculations.

Andrew Hamilton (2):
  datetime: Support dates outside of 1901..2038 range
  date_unit_test: test dates outside of 32-bit unix range

 grub-core/lib/datetime.c | 64 ++++++++++++++++++++++++++++++++--------
 include/grub/datetime.h  | 27 ++++++++++++-----
 tests/date_unit_test.c   | 44 +++++++++++++++++++++------
 3 files changed, 106 insertions(+), 29 deletions(-)

-- 
2.39.5


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-08-26 17:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26  3:17 [PATCH v4 0/2] Support dates outside of 1901..2038 range Andrew Hamilton
2025-08-26  3:17 ` [PATCH v4 1/2] datetime: " Andrew Hamilton
2025-08-26 15:06   ` Daniel Kiper via Grub-devel
2025-08-26 15:28     ` Andrew Hamilton
2025-08-26 16:53       ` Daniel Kiper via Grub-devel
2025-08-26 17:00         ` Andrew Hamilton
2025-08-26  3:17 ` [PATCH v4 2/2] date_unit_test: test dates outside of 32-bit unix range Andrew Hamilton
2025-08-26 15:25   ` Daniel Kiper via Grub-devel
2025-08-26 15:35     ` Andrew Hamilton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).