cvsimport: format commit timestamp ourselves without using strftime
authorBen Walton <bdwalton@gmail.com>
Sat, 9 Feb 2013 21:46:58 +0000 (21:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Feb 2013 22:41:49 +0000 (14:41 -0800)
commit48c916285753907b71a0ef663576f01ee260095c
tree13afab98d01b48c04eb17503fb6d9f3d45890bed
parent75f7b5dfc47a9c764207559934b1c550423a243a
cvsimport: format commit timestamp ourselves without using strftime

Some implementations of strftime(3) lack support for "%z".  Also
there is no need for %s in git-cvsimport as the supplied time is
already in seconds since the epoch.

For %z, use the function get_tz_offset provided by Git.pm instead.

Signed-off-by: Ben Walton <bdwalton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl