D
Size: a a a
D
DS
timeStamp=`echo %system.build.start.date%%system.build.start.time% | cut -c 3-12`
echo "##teamcity[buildNumber '$timeStamp']"
date -u +%s
`DS
%system.build.start.date%%system.build.start.time%
в utc. Просто ты пример вывода %system.build.start.date%%system.build.start.time%
не далDS
timeStamp=`echo %system.build.start.date%%system.build.start.time% | cut -c 3-12`
echo "##teamcity[buildNumber '$timeStamp']"
DS
d=%system.build.start.date%%system.build.start.time%; date --date="`echo $d | cut -c 1-8` `echo $d | cut -c 9-10`:`echo $d | cut -c 11-12`:`echo $d | cut -c 13-14`"
m.build.start.date%%system.build.start.time%; date
--date="`echo $d | cut -c 1-8` echo $d | cut -c 9-10
:echo $d | cut -c 11-12
:`echo $d | cut -c 13-14`" -u +%G%m%d%H%MI
A
d=%system.build.start.date%%system.build.start.time%; date --date="`echo $d | cut -c 1-8` `echo $d | cut -c 9-10`:`echo $d | cut -c 11-12`:`echo $d | cut -c 13-14`"
m.build.start.date%%system.build.start.time%; date
--date="`echo $d | cut -c 1-8` echo $d | cut -c 9-10
:echo $d | cut -c 11-12
:`echo $d | cut -c 13-14`" -u +%G%m%d%H%MDS
m.build.start.date%%system.build.start.time%; date
--date="`echo $d | cut -c 1-8` echo $d | cut -c 9-10
:echo $d | cut -c 11-12
:`echo $d | cut -c 13-14`" -u +%G%m%d%H%MDS
DS
date -u +%G%m%d%H%M
и не парить мозг с преобразованиями