Open hemanth opened 8 years ago
You can use format for this
$ dev-time hemanth --format Z
+02:00
My bad, it's not entirely true. This will return the offset between GMT+0 and the timezone of the user.
I would just show it in verbose mode (---verbose
).
--verbose
makes more sense.
:+1:
Suggestions on the output?
$ node cli hemanth -v
17:07 - 10 Dec. 2015 - UTC+5.5 - +4.5
Not very clear where that +4.5
comes from...
-v
version vs -v
verbose confusion as well.
It will be useful to know the time offset between the local time and the dev-time (lazy to do the math)