]> git.ipfire.org Git - thirdparty/git.git/commit - date.c
[PATCH] Do date parsing by hand...
authorEdgar Toernig <froese@gmx.de>
Sat, 30 Apr 2005 16:46:49 +0000 (09:46 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 30 Apr 2005 16:46:49 +0000 (09:46 -0700)
commitecee9d9e793c7573cf3730fb9746527a0a7e94e7
tree0cd8a2506a2960a0697fd7aaa2cd0dfc38b1aa67
parentd167f147dc6995e452cdc374ffcd07f5d9abf0bc
[PATCH] Do date parsing by hand...

...since everything out there is either strange (libc mktime has issues
with timezones) or introduces unnecessary dependencies for people (libcurl).

This goes back to the old date parsing, but moves it out into a file of
its own, and does the "struct tm" to "seconds since epoch" handling by
hand.

I grepped through the tz-database and it seems there's one "country"
left that has non-60-minute DST: Lord Howe Island.  All others dropped
that before 1970.
Makefile
cache.h
commit-tree.c
date.c [new file with mode: 0644]