Skip to content

Commit

Permalink
#1 implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownName committed Mar 9, 2019
1 parent 0710a7a commit bdff520
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/time.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# https://www.iso.org/standard/40874.html
# https://www.iso.org/standard/70907.html
# https://www.iso.org/standard/70908.html

function time::iso8601::now {
date -Iseconds

# only for macOS ...
#date +%Y-%m-%dT%H:%M:%S%z
}

0 comments on commit bdff520

Please sign in to comment.