Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO-8601 compliant time style format for date command #277

Closed
arcticicestudio opened this issue May 8, 2020 · 0 comments · Fixed by #278
Closed

ISO-8601 compliant time style format for date command #277

arcticicestudio opened this issue May 8, 2020 · 0 comments · Fixed by #278

Comments

@arcticicestudio
Copy link
Owner

ISO-8601 compliant time style format for date command

There is currently a unnecessary duplicate colon in the TIME_STYLE environment variable causing a invalid output. In order to fix this and ensure a ISO-8601 compliant format the superfluous colon will be removed and the space between the date and time will be replaced with a T character like documented in the specification.

@arcticicestudio arcticicestudio added this to the Next milestone May 8, 2020
arcticicestudio added a commit that referenced this issue May 8, 2020
Before there was a unnecessary duplicate colon in the `TIME_STYLE`
environment variable causing a invalid and non-parsable output.
In order to fix this and ensure a ISO-8601 [1] compliant format the
superfluous colon has been removed and the space between the date and
time replaced with a `T` character like documented in the specification.

[1]: https://en.wikipedia.org/wiki/ISO_8601
[2]: https://github.com/arcticicestudio/igloo/blob/18b735009f2baa29e3bbe1323a1fc2082f88b393/snowblocks/zsh/pkgs/coreutils/env.zsh#L10

GH-277

Co-authored-by: Sven Greb <development@svengreb.de>
arcticicestudio added a commit that referenced this issue May 8, 2020
Before there was a unnecessary duplicate colon in the `TIME_STYLE`
environment variable causing a invalid and non-parsable output.
In order to fix this and ensure a ISO-8601 [1] compliant format the
superfluous colon has been removed and the space between the date and
time replaced with a `T` character like documented in the specification.

[1]: https://en.wikipedia.org/wiki/ISO_8601
[2]: https://github.com/arcticicestudio/igloo/blob/18b735009f2baa29e3bbe1323a1fc2082f88b393/snowblocks/zsh/pkgs/coreutils/env.zsh#L10

Fixes GH-277

Co-authored-by: Sven Greb <development@svengreb.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants