Re: Trying to use AUTHOR_DATE
- From
- Russ Allbery <rra@stanford.edu>
- Date
- Apr 30, 2005, 04:32 UTC
- Message-ID
- <87zmvganq9.fsf@windlord.stanford.edu>
- In-Reply-To
- <Pine.LNX.4.58.0504292114580.2296@ppc970.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> It also seems to do so in a particularly stupid way, and David > Woodhouses suggestion of just using mktime() on Jan 1st, 1970, seems to > be much simpler than what curl does.
Because of daylight savings time, this doesn't actually work. I know from personal experience; this is the tactic that I took at first when writing INN's date parser and was educated by test failures.
-- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>