Re: [taskjuggler] Correct number of days per month?

From: Danny De Cock (decockd_at_esat.kuleuven.be)
Date: Tue Aug 09 2005 - 15:44:37 CEST


Date: Tue, 9 Aug 2005 15:44:37 +0200 (CEST)
From: Danny De Cock <decockd@esat.kuleuven.be>
Message-ID: <Pine.LNX.4.58.0508091542090.3932@bezout.esat.kuleuven.be>
Subject: Re: [taskjuggler] Correct number of days per month?

hi,

this is normal behaviour of the unix date functions/libraries... have a
look at what date does when specifying "more" days per month than the
actual number of days for that month:

~$ date -d "2005-09-30"
Fri Sep 30 00:00:00 CEST 2005
~$ date -d "2005-09-31"
Sat Oct 1 00:00:00 CEST 2005
~$ date -d "2005-09-35"
Wed Oct 5 00:00:00 CEST 2005
~$ date -d "2005-09-65"
Fri Nov 4 00:00:00 CET 2005
~$ date -d "2005-09-1165"
Sat Nov 8 00:00:00 CET 2008

cu, danny.

-----------------------------------------------------------------------------
mail: decockd:at:esat:dot:kuleuven:dot:be http://godot.be

On Tue, 9 Aug 2005, HaakonME wrote:
> Hi!
>
> I created a project with the end date set to 2005-09-31, but taskjuggler
> didn't complain. Is this by intent, or is it a bug as September only has
> 30 days?
>
> Thanks!
> Haakon

-- 
To unsubscribe, email the address listed in the List-Unsubscribe header
For additional commands, email: taskjuggler-help@suse.com


This archive was generated by hypermail 2.1.7 : Tue Aug 09 2005 - 16:17:29 CEST