Browse Source

Remove `date -d` on macOS

pull/5128/head
Владимир Алексеев 4 months ago
committed by GitHub
parent
commit
51151293d7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      dnsapi/dns_selectel.sh

2
dnsapi/dns_selectel.sh

@ -356,7 +356,7 @@ _get_auth_token() {
_debug3 _login_name "$_login_name"
_debug3 _login_id "$_login_id"
_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
_dt_diff_minute=$((($(date +%s) - _receipt_time) / 60))
_debug3 _dt_diff_minute "$_dt_diff_minute"

Loading…
Cancel
Save