gitweb: add a "string" variant of print_local_time
authorJohn 'Warthog9' Hawley <warthog9@kernel.org>
Sat, 30 Jan 2010 22:30:42 +0000 (23:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 30 Jan 2010 23:53:54 +0000 (15:53 -0800)
commit0cf207f7a621d2f15bc3a5ec0fa6a7c8f3333386
tree5db169242c9fb74f57aad49828009205da65e2eb
parent24d4afcdc79cb250131841040b803401d261a473
gitweb: add a "string" variant of print_local_time

Add a function (named format_local_time) that returns the string that
print_local_time would print.

Signed-off-by: John 'Warthog9' Hawley <warthog9@kernel.org>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl