Better parsable date output

This commit is contained in:
Nico Schottelius 2007-08-14 14:33:22 +02:00
parent 965c3e37f7
commit d08ac69af6

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Nico Schottelius # Nico Schottelius
# written for SyGroup (www.sygroup.ch) # Initially written for SyGroup (www.sygroup.ch)
# Date: Mon Nov 14 11:45:11 CET 2005 # Date: Mon Nov 14 11:45:11 CET 2005
# Last Modified: (See ls -l or git) # Last Modified: (See ls -l or git)
@ -24,7 +24,7 @@ FULL_VERSION="ccollect $VERSION ($RELEASE)"
# DDATE: how the user should see it in our output # DDATE: how the user should see it in our output
# #
CDATE="date +%Y-%m-%d-%H%M" CDATE="date +%Y-%m-%d-%H%M"
DDATE="date" DDATE="date +%Y-%m-%d-%H:%M:%S"
# #
# unset parallel execution # unset parallel execution