X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/91264db571c7957c70a2441b532e32f317b9cf49..46a97d837460ca2122da3e32a963e99b1e76410d:/user/bkdate?ds=sidebyside diff --git a/user/bkdate b/user/bkdate deleted file mode 100755 index 1bf808b..0000000 --- a/user/bkdate +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# Date: 2020-02-06T22:51Z - -# Description: A simple command line tool to dispay the date in ISO-8601 format. - -DATE="$(date --iso-8601=seconds)" - -if [[ $DATE =~ "+00:00"$ ]]; then - DATE2=${DATE::-6}"Z" - echo $DATE2 - exit 0 -else - echo $DATE - exit 0 -fi