Fridrich Strba 2023-09-19 13:44:28 +00:00 committed by Git OBS Bridge
parent c50ffbc5d1
commit 1eb9378086

View File

@ -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;
}