Code

t0006: test timezone parsing
authorJeff King <peff@peff.net>
Sun, 4 Jul 2010 10:48:35 +0000 (06:48 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Jul 2010 18:54:50 +0000 (11:54 -0700)
commit6b097788f88a29d6e171af7a9e87117cf992e833
tree84766fade9042215098fedba4aa698b6190dee51
parent2c64034491e302fa12ac86365dd872d9a75dc855
t0006: test timezone parsing

Previously, test-date simply ignored the parsed timezone and
told show_date() to use UTC. Instead, let's print out what
we actually parsed.

While we're at it, let's make it easy for tests to work in a specific
timezone.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0006-date.sh
test-date.c