projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(unitproc):bkFreqWrite:Init script to process stdin
[BK-2020-03.git]
/
unitproc
/
bktemp-dateTimeShort
diff --git
a/unitproc/bktemp-dateTimeShort
b/unitproc/bktemp-dateTimeShort
index 6606d775ad6c225f281e648a473d4b245ea99395..cabb4ba4565b56cccbc5f5bc0fe01d9358d648e5 100644
(file)
--- a/
unitproc/bktemp-dateTimeShort
+++ b/
unitproc/bktemp-dateTimeShort
@@
-41,7
+41,9
@@
dateTimeShort(){
echo "The current day and time is :$(dateTimeShort)";
echo "Contact lost with STS-107 on:$(dateTimeShort "2003-02-01T08:59:15-05:00")";
echo "Bitcoin started on :$(dateTimeShort "@1231006505")";
echo "The current day and time is :$(dateTimeShort)";
echo "Contact lost with STS-107 on:$(dateTimeShort "2003-02-01T08:59:15-05:00")";
echo "Bitcoin started on :$(dateTimeShort "@1231006505")";
-
+testDate="2020-07-07T02:30:11,690097074+00:00";
+echo "This string was generated using 'date --iso-8601=ns':$testDate";
+echo "Using dateTimeShort, it appears as:$(dateTimeShort "$testDate")";
#==END sample code==
# Author: Steven Baltakatei Sandoval
#==END sample code==
# Author: Steven Baltakatei Sandoval