From: Christopher Nelson <chris.nelson.1...@gmail.com>
Date: Tue, 18 Sep 2012 13:52:20 -0400
Local: Tues, Sep 18 2012 1:52 pm
Subject: Re: [Trac-dev] Python datetime to int for db
>> If I want to do:
I can't make that work. I have:
>> d = datetime.now()
>> what is `somefunc()`
> Well, I think you're looking for to_utimestamp:
> http://www.edgewall.org/docs/branches-1.0-stable/html/api/trac_util_d...
self.env.log.debug('utimestamp tests')
d = parse_date(ds)
and I see:
2012-09-18 13:48:00,442 Trac[tracpm] DEBUG: utimestamp tests
In 0.11 parse_date() seems to assume ISO format which isn't really an
Chris
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||