ChangeLog: http://www.dhondt.de/new_calc.htm PR: 272890 Reported by: rsmith@xs4all.nl (maintainer)
11 lines
263 B
Perl
11 lines
263 B
Perl
--- date.pl.orig 2022-07-31 16:06:31 UTC
|
|
+++ date.pl
|
|
@@ -1,6 +1,7 @@
|
|
#!/usr/bin/env perl
|
|
|
|
-chomp($date=`date`);
|
|
+use POSIX qw(strftime);
|
|
+chomp(my $date = strftime("%Y-%m-%d", gmtime($ENV{SOURCE_DATE_EPOCH} || time)));
|
|
|
|
# inserting the date into ccx_2.21.c
|
|
|