]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: Use local time for human-readable dates
authorAlejandro Colomar <alx@kernel.org>
Wed, 31 Jul 2024 12:35:15 +0000 (14:35 +0200)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 1 Aug 2024 08:12:44 +0000 (10:12 +0200)
commit3f5b4b56268269fefed55aa106f382037297d663
tree5bcff1be57498d2fa7589e77ee323284a014c7fc
parentf3f501c81c1f5fd253bf0d243971cd6868a2d89e
lib/, src/: Use local time for human-readable dates

That is, use localtime_r(3) instead of gmtime_r(3).

Closes: <https://github.com/shadow-maint/shadow/issues/1057>
Reported-by: Gus Kenion <https://github.com/kenion>
Cc: Serge Hallyn <serge@hallyn.com>
Cc: Paul Eggert <eggert@cs.ucla.edu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/time/day_to_str.h
src/chage.c