Mercurial > repo
annotate bin/dateu @ 12500:e48c08805365 draft default tip
<b_jonas> ` learn \'The password of the month is Cthulhuquagdonic Mothraquagdonic Narwhalicorn.\' # https://logs.esolangs.org/libera-esolangs/2024-04.html#lKE Infinite craft
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 01 May 2024 06:39:10 +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" |