This commit is contained in:
Toni de la Fuente
2021-01-22 16:17:26 +01:00
parent 6f371744dc
commit f9c2e0cf26

View File

@@ -109,11 +109,11 @@ bsd_get_iso8601_timestamp() {
}
gnu_convert_date_to_timestamp() {
if [ "$OSTYPE" == "linux-musl" ]; then
date -D "%Y-%m-%dT%H:%M:%SZ" -d "$1" +%s
else
# if [ "$OSTYPE" == "linux-musl" ]; then
# date -D "%Y-%m-%dT%H:%M:%SZ" -d "$1" +%s
# else
date -d "$1" +%s
fi
# fi
}
bsd_convert_date_to_timestamp() {