brianleepzx / dataparksearch

Automatically exported from code.google.com/p/dataparksearch
GNU General Public License v2.0
0 stars 0 forks source link

Date handling is not robust enough #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If the incoming file has a "Last-Modified" tag that looks like 
<meta http-equiv="Last-Modified" content="Thu, 15 Jan 2009 18:40:46 EST"/> 
the timezone seems to be ignored and instead the time converted to GMT.
Also the parser is quite strict about the format and slight variations seem
to throw it off.

There are a bunch of different date parsers that are more flexible that are
available both in the GNU glibc and under other GNU like licenses. Probably
should use one of those? CURL seems to have good one
https://www.koders.com/c/fidFDF8CF1254129577CE4A24545AF8DF31CA6E2E1A.aspx?s=md5

Original issue reported on code.google.com by amitshar...@gmail.com on 16 Jan 2009 at 1:35

GoogleCodeExporter commented 8 years ago
The timezone handling has been implemented in the latest snapshot of 4.52 
version.

Original comment by dp.max...@gmail.com on 28 Jan 2009 at 9:26