aboutsummaryrefslogtreecommitdiff
path: root/files/bin/domain-check
diff options
context:
space:
mode:
Diffstat (limited to 'files/bin/domain-check')
-rwxr-xr-xfiles/bin/domain-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/bin/domain-check b/files/bin/domain-check
index 869a438..a8c2893 100755
--- a/files/bin/domain-check
+++ b/files/bin/domain-check
@@ -330,7 +330,7 @@ check_domain_status()
if [ "${TLDTYPE}" == "br" ]; # for .br domain
then
# Convert the date to seconds
- DOMAINJULIAN=`date -d ${DOMAINDATE} "+%-m %-d %-Y"`
+ DOMAINJULIAN=`$DATE -d ${DOMAINDATE} "+%-m %-d %-Y"`
DOMAINJULIAN=`date2julian ${DOMAINJULIAN}`
else
# Whois data should be in the following format: "13-feb-2006"
@@ -349,7 +349,7 @@ check_domain_status()
if [ "${TLDTYPE}" == "br" ]; # for .br domain
then
# Fix domain date for displaying
- DOMAINDATE=`date -d ${DOMAINDATE} +"%m-%b-%Y"`
+ DOMAINDATE=`$DATE -d ${DOMAINDATE} +"%m-%b-%Y"`
fi
if [ ${DOMAINDIFF} -lt 0 ]