mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 23:05:05 +00:00
Update os_detector bsd_convert_date_to_timestamp
This commit is contained in:
committed by
GitHub
parent
5e38c61286
commit
5be38a15d9
@@ -113,7 +113,7 @@ gnu_convert_date_to_timestamp() {
|
||||
}
|
||||
|
||||
bsd_convert_date_to_timestamp() {
|
||||
date -j -f "%Y-%m-%dT%H:%M:%SZ" "$1" "+%s"
|
||||
date -j -f "%Y-%m-%dT%H:%M:%S" "$1" "+%s"
|
||||
}
|
||||
|
||||
gnu_test_tcp_connectivity() {
|
||||
|
||||
Reference in New Issue
Block a user