mirror of https://github.com/mpv-player/mpv
Days should be two digits.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15644 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
31dcc9c07e
commit
bd5b237ceb
|
@ -22,7 +22,7 @@ case "$OS" in
|
|||
year=`echo $LS | cut -d' ' -f9 | cut -c 3-4`
|
||||
month=`echo $LS | awk -F" " '{printf "%.2d", \
|
||||
(index("JanFebMarAprMayJunJulAugSepOctNovDec",$6)+2)/3}'`
|
||||
day=`echo $LS | cut -d' ' -f7`
|
||||
day=`printf %.2d \` echo $LS | cut -d' ' -f7 \` `
|
||||
hour=`echo $LS | cut -d' ' -f8 | cut -d: -f1`
|
||||
minute=`echo $LS | cut -d' ' -f8 | cut -d: -f2`
|
||||
last_cvs_update="${year}${month}${day}-${hour}:${minute}"
|
||||
|
|
Loading…
Reference in New Issue