gitweb: Refactor generating of long dates into format_timestamp_html
commit256b7b4883231ae9c7f24f2cb4170f61e00704e1
authorJakub Narebski <jnareb@gmail.com>
Thu, 28 Apr 2011 19:04:07 +0000 (28 21:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 May 2011 18:22:45 +0000 (24 11:22 -0700)
treeec6e08850429724ff6e7b13a904e088f7f53b746
parent1cae3ee70dd9e389a83c494fbc95aa63c01128a1
gitweb: Refactor generating of long dates into format_timestamp_html

It is pure refactoring and doesn't change gitweb output, though this
could potentially affect 'summary', 'log', and 'commit'-like views
('commit', 'commitdiff', 'tag').

Remove print_local_time and format_local_time, as their use is now
replaced (indirectly) by using format_timestamp_html.

While at it improve whitespace formatting.

Inspired-by-code-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl