# arg2: int end index
# Example: ./calcGalTick.sh 0 250
# Depends: bc 1.07.1; date (GNU coreutils) 8.32
-# Version: 0.0.1
+# Version: 0.0.2
# Ref/Attrib: [1] Galactic Tick Day Calendar. (2021-10-20). https://github.com/GalacticTick/GalacticTick.github.io/blob/master/documents/press-3.pdf
# Galactic Tick duration equation (seconds)
ueTick="$( echo "$ueTickEq" | bc -l )";
# Print calendar date
- #output="$(date --date="@$ueTick" +%Y-%m-%dT%H:%M:%S%z)";
- output="$(date --date="@$ueTick" +%Y-%m-%d)";
+ #output="$(TZ=UTC date --date="@$ueTick" +%Y-%m-%dT%H:%M:%S%z)";
+ output="$(TZ=UTC date --date="@$ueTick" +%Y-%m-%d)";
printf "%s\n" "$output";
}; # print ISO-8601 calendar date of tick