summaryrefslogtreecommitdiffstats
path: root/assets/bin
diff options
context:
space:
mode:
authorroot <root@kremium>2011-12-02 15:30:43 +0100
committerroot <root@kremium>2011-12-02 15:30:43 +0100
commiteb83ab295d17f957fb775903ff24a7ada829ff9e (patch)
treec3ff0bb5e357ddeff9cf3f2aa98dda1d16afa6f6 /assets/bin
parent53ee2a61c2772e91d66f544bfd3d6a933cbd1b19 (diff)
//assets/bin/ass: use utc rfc3339 timestamp
Diffstat (limited to 'assets/bin')
-rwxr-xr-xassets/bin/ass6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/bin/ass b/assets/bin/ass
index 61d315fd..d29ea7e6 100755
--- a/assets/bin/ass
+++ b/assets/bin/ass
@@ -2,17 +2,17 @@
set -euf
-JOURNAL="/krebs/db/truth.db"
+JOURNAL="/krebs/db/truth"
METHOD="$1"
shift
case $METHOD in
"create")
- echo "`date +%s.%N`: create $1" | tee -a $JOURNAL
+ echo "`date --utc --rfc-3339=ns` create $1" | tee -a $JOURNAL
;;
"set")
- echo "`date +%s.%N`: set $1 $2 $3" | tee -a $JOURNAL
+ echo "`date --utc --rfc-3339=ns` set $1 $2 $3" | tee -a $JOURNAL
;;
*)
echo "you are made of stupid!"