Closed sindresorhus closed 8 years ago
Ah, missed that one, thanks. Which one do you prefer?
I think it's difficult to provide a nice default for everyone. Personally I'm not really interested in the timezone of the user but just want to know the local time. So for me personally, the default is fine as it is. Maybe we can use configstore
to use the previously used --format
as default? Just asking your opinion on this one :).
1., but 13:18 - 8 Dec. 2015 - +1
What about timezones with half an hour? +5:30
?
That output screws up with my --format
flag though, it accepts a moment
format. Outputting the timezone as +1
is not one of the options :).
What about timezones with half an hour? +5:30?
Wut, that's a thing? I thought timezones were integers.
Maybe add a --verbose
mode to the default for those that just want all the info without having to manually format it?
I also think the seconds in the time is pretty useless and should be removed.
Wut, that's a thing? I thought timezones were integers.
Jup, that's a thing :)
I also think the seconds in the time is pretty useless and should be removed.
:+1:
@sindresorhus So to wrap things up in this feature request(s).
$ dev-time sindresorhus
19:17 - 08 Dec. 2015
--verbose
(-v
) flag for more information$ dev-time sindresorhus --verbose
19:17 - 08 Dec. 2015 - +1
Adding +1
might be ambiguous. Is it +1
from your current timezone or is it +1
from GMT? So maybe we should write it as 19:17 - 08 Dec. 2015 - GMT+1
.
What should we do with the timezone +05:30
? --> GMT+5:30
?
Did I miss something here?
:+1: But UTC+1
:+1:
UTC+5.5
Isn't that weird :D?
Not for me, it's an offset, not a time. But UTC+5:30 is fine too if you rather have that.
Released in v1.2.0
. Thanks for the feedback! Much appreciated. :beers:
From https://github.com/SamVerschueren/dev-time-cli/commit/de77c2b7d56121a148638b0b1e91a5e8cc45678d#commitcomment-14815063.