adtac / climate

The swiss-army knife of utility tools for Linux.
GNU General Public License v3.0
1.43k stars 76 forks source link

UTC and ISO 8601 support #21

Open ghost opened 7 years ago

ghost commented 7 years ago

UTC is the time than all other timezones deviate from. ISO 8601 is an international standard for displaying the time and date.

UTC is used a lot to keep international organisations in sync. It allows global communications without ambiguity. The ISO 8601 date standard is similarly used to remove ambiguity. An example ISO 8601 date is 2017-01-17T18:03:26. The most significant part of the date is placed first. This means files can be much more easily sorted. It is supposed to remove ambiguity from dates (e.g. American dates are structured as MM-DD-YY, while European dates are DD-MM-YY).

I think it is a good idea to implement UTC and ISO 8601 support. The command affected are time and clock. I think it would be ideal to have flags like the command date does, where date --utc returns Tue 17 Jan 18:53:03 UTC 2017. The user should be able to use the two flags together.

Overall this would improve global communications for millions (ok, a couple) of people :)