Mercurial > repo
annotate bin/dateu @ 12254:616be78bd12e draft
<oerjan> revert
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 06 Dec 2019 07:54:58 +0000 |
parents | 7749e14b2064 |
children |
rev | line source |
---|---|
6473
8e8662d8cbda
<b_jonas> `` echo $\'#!/bin/sh\\nexec date --rfc-3=n -u "$@"\' > bin/dateu && chmod a+x bin/dateu
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
11946
7749e14b2064
<b_jonas> `` sed -i \'s/%N/%3N/\' bin/dateu; dateu
HackEso <hackeso@esolangs.org>
parents:
11688
diff
changeset
|
2 exec date -u ${1:+-d "$1"} "+%Y-%m-%d %H:%M:%S.%3N %z %Z %B %-e %A %G-W%V-%u" |