Browse files

Added timezone offset from GMT in hours to time output

This resolves #14 and makes the script work across time zones and
daylight saving changes. Previously you'd never be able to tell when an
entry was made relative to GMT.

This also provides a little insight into a general area of the world for
where an entry was made.
  • Loading branch information...
grantlucas committed Feb 11, 2014
1 parent 39cf6b7 commit 2da195c040056377c0da9b8eec4e6f4acb0a3c65
Showing with 1 addition and 1 deletion.
  1. +1 −1 logger-txt
@@ -175,7 +175,7 @@ LOG_TYPE=${LOG_TYPE:-''}
now=`date '+%d/%m/%y %H:%M'`
now=`date '+%d/%m/%y %H:%M %z'`
SCRIPT_NAME=$(basename "$0")

0 comments on commit 2da195c

Please sign in to comment.