Hi Dave,
Yep - incrementing seems to be working fine now.
Now I can access smaller XML files that should allow me to use DOM
rather than SAX - which I was struggling to understand.
Paul Y
On Tue, Mar 31, 2009 at 2:29 PM, Dave Angel wrote:
> Sorry for the bad assumption. But the thread "Caugh
Sorry for the bad assumption. But the thread "Caught out by daylight
saving :-(" on the python-list was very similar, differing mainly by
the fact he's incrementing by 5 minutes instead of 1.
Did my suggested function replacements work for you? They did here.
po yo wrote:
I am trying to fi
I am trying to filter Open Street Map nodes from
http://planet.openstreetmap.org/minute/
... into wikimark up for Yellowikis (http://www.yellowikis.org)
I work from home - but this isn't a homework assignment. :-)
Paul Y
On Mon, Mar 30, 2009 at 5:52 PM, Dave Angel wrote:
> This is the second
This is the second post I've seen on this homework assignment. You might look
at the Python List for other ideas.
mktime() and gmtime() are not inverses of each other. The first assumes local
time, and the latter gmt (or utc). So unless you happen to be in England, and
not in daylight savin
mktime() and gmtime() are not inverses of each other. The first assumes local
time, and the latter gmt (or utc). So unless you happen to be in England, and
not in daylight savings time, you'd expect a problem.
mktime() is documented as the inverse of localtime(), according to the docs.
I'd
2009/3/30 pa yo :
> I need to add one minute to a string that has a date and a time in
> MMDDHHMM format.
> e.g: 200903281346 should become 200903281347
>
> the following script converts the string into time and adds one
> minute; but somehow I also add an hour and I don't understand why.
>
>
2009/3/30 pa yo :
> I need to add one minute to a string that has a date and a time in
> MMDDHHMM format.
> e.g: 200903281346 should become 200903281347
>
> the following script converts the string into time and adds one
> minute; but somehow I also add an hour and I don't understand why.
>
>
I fixed it by re-setting my system clock to GMT.
... it seems a bit of a botch but it works.
Payo
On Mon, Mar 30, 2009 at 4:52 PM, pa yo wrote:
> I need to add one minute to a string that has a date and a time in
> MMDDHHMM format.
> e.g: 200903281346 should become 200903281347
>
> the f
I need to add one minute to a string that has a date and a time in
MMDDHHMM format.
e.g: 200903281346 should become 200903281347
the following script converts the string into time and adds one
minute; but somehow I also add an hour and I don't understand why.
import tim