This commit is contained in:
parent
c50ffbc5d1
commit
1eb9378086
@ -33,7 +33,7 @@ index ebd9871..cf2218d 100644
|
||||
|
||||
public static double time() {
|
||||
+ if (System.getenv("SOURCE_DATE_EPOCH") != null) {
|
||||
+ return Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")).doubleValue();
|
||||
+ return Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"));
|
||||
+ }
|
||||
return System.currentTimeMillis()/1000.0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user