mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 06:02:45 +00:00
Remove date -d
on macOS
This commit is contained in:
parent
a42fef0905
commit
51151293d7
@ -356,7 +356,7 @@ _get_auth_token() {
|
|||||||
_debug3 _login_name "$_login_name"
|
_debug3 _login_name "$_login_name"
|
||||||
_debug3 _login_id "$_login_id"
|
_debug3 _login_id "$_login_id"
|
||||||
_debug3 _project_name "$_project_name"
|
_debug3 _project_name "$_project_name"
|
||||||
_debug3 _receipt_time "$(date -d @"$_receipt_time" -u)"
|
# _debug3 _receipt_time "$(date -d @"$_receipt_time" -u)"
|
||||||
# check the validity of the token for the user and the project and its lifetime
|
# check the validity of the token for the user and the project and its lifetime
|
||||||
_dt_diff_minute=$((($(date +%s) - _receipt_time) / 60))
|
_dt_diff_minute=$((($(date +%s) - _receipt_time) / 60))
|
||||||
_debug3 _dt_diff_minute "$_dt_diff_minute"
|
_debug3 _dt_diff_minute "$_dt_diff_minute"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user