repo.or.cz
/
sunny256-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mdisk: Delete unnecessary use of `strip_diskname` and use it elsewhere
[sunny256-utils.git]
/
utc
blob
e043d325596937b015bbea1f96ff594bae0c1dfd
1
#!/bin/sh
2
3
# utc
4
# File ID: 52f418aa-5d49-11df-8c58-90e6ba3022ac
5
6
if
[
"
$1
"
=
"-L"
];
then
7
date
-u
+
"%Y-%m-%dT%H:%M:%SZ"
8
else
9
date
-u
+
"%Y%m%dT%H%M%SZ"
10
fi