Skip to content

Commit 28675dc

Browse files
committed
genhtml: Use gmtime for SOURCE_DATE_EPOCH conversion
By changing that localtime to gmtime the "Known bug" section of the commit message can be removed. Signed-off-by: Peter Oberparleiter <[email protected]> Suggested-by: Bjørn Forsman <[email protected]>
1 parent 180286b commit 28675dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/genhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2629,7 +2629,7 @@ sub get_date_string()
26292629

26302630
if (defined $ENV{'SOURCE_DATE_EPOCH'})
26312631
{
2632-
@timeresult = localtime($ENV{'SOURCE_DATE_EPOCH'});
2632+
@timeresult = gmtime($ENV{'SOURCE_DATE_EPOCH'});
26332633
}
26342634
else
26352635
{

0 commit comments

Comments
 (0)