`date --date="21:04 +0100" +%S' would print the seconds value
authorJim Meyering <jim@meyering.net>
Mon, 15 Mar 2004 08:37:03 +0000 (08:37 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 15 Mar 2004 08:37:03 +0000 (08:37 +0000)
commitfae8b8505c7a4c2202d79619b482ff6b70490bf7
tree83d709e3742bba0b2d46511f841450432e6d03d6
parentb9ccb4b8e8b44f128ee0fa9c4dac0b83007c6604
`date --date="21:04 +0100" +%S' would print the seconds value
from the current time, rather than `00'.

For a date string like `10:23 +0100',
set the number of seconds to zero.  Reported by Marc Haber.
lib/getdate.y