Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Added .rs domains support (Serbia) #52

@yukh975

Description

@yukh975
elif [ "${TLDTYPE}" == "rs" ]; # for .rs domain
then
        tdomdate=`cat ${WHOIS_TMP} | ${AWK} '/Expiration date:/ { print $3 }'`
        tmon=`echo ${tdomdate} | ${CUT} -d'.' -f2`
           case ${tmon} in
                 1|01) tmonth=jan ;;
                 2|02) tmonth=feb ;;
                 3|03) tmonth=mar ;;
                 4|04) tmonth=apr ;;
                 5|05) tmonth=may ;;
                 6|06) tmonth=jun ;;
                 7|07) tmonth=jul ;;
                 8|08) tmonth=aug ;;
                 9|09) tmonth=sep ;;
                 10) tmonth=oct ;;
                 11) tmonth=nov ;;
                 12) tmonth=dec ;;
                 *) tmonth=0 ;;
           esac
        tyear=`echo ${tdomdate} | ${CUT} -d'.' -f3`
        tday=`echo ${tdomdate} | ${CUT} -d'.' -f1`
        DOMAINDATE=`echo $tday-$tmonth-$tyear`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions