From f9c2e0cf260acf2f9f4587e9c732f8031d82c353 Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Fri, 22 Jan 2021 16:17:26 +0100 Subject: [PATCH] Revert PR #718 --- include/os_detector | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/os_detector b/include/os_detector index 67606660..a6667cbe 100644 --- a/include/os_detector +++ b/include/os_detector @@ -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() {