It's kind of funny. I've been hesitating to upgrade to 2.5 in order to
_avoid_ breaking old code, but all my problems seems to be because of
this.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul McNett
Sent: 29. januar 2008 16:01
To: Dabo developers' list
Subject: Re: [dabo-dev] dates.py - getStringFromDate()

Simen Haugen wrote:

> Ok, my bad then. This would be correct then. Otherwise you get an
error
> time.strftime(fmt, (d.year, d.month, d.day, 0, 0, 0, 0, d.day, 0) 
> 
> If you don't add the Julian day, you get "ValueError: day of year out
of
> range"

Just out of curiosity, I'd be interested to know if upgrading your 
python fixes this, too. If anything, I think we need to send the Julian 
day, and not the day of the month, but I have a hunch sending 0 in later

Python versions tells Python to ignore it.

Paul

-- 
http://paulmcnett.com


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to