Using "print" over various parts show me this, in order how appear:
1.- In function DateTime._julianday (around line 198, print before "if m >12L": print y,m,d show Y=1999 - M=10 - D=03
2.- In function DateTime._julianday (print before return): the final value of "b" is "-13"
3.- In function DateTime._calDependentSecond2 (around line 155, print before return x): the value "x" is "3116361600"
4.- In function DateTime.strftime (print before tzdiff minus): "ltz" is "GTM-6". This is correct.
5.- In function DateTime._tzoffset (executed by tzdiff = _tzoffset(ltz, self._t) - _tzoffset(self._tz, self._t)): show
tzoffset tz=GMT-6, t=1033603200.0
tzoffset= -21600
tzoffset tz=UTC, t=1033603200.0
tzoffset= 0
tzoffset tz=UTC, t=1033581600.0
tzoffset= 0
julian Y=2002 - M=10 - D=2
b= -13
(why enter again to julianday?)
6.- In function DateTime.strftime(print before return): show 02-10-1999
I hope what can help you this information
Date: 1999/10/03
Final result: 02/10/1999
Using "print" over various parts show me this, in order how appear:
1.- In function DateTime._julianday (around line 198, print before "if m >12L": print y,m,d show Y=1999 - M=10 - D=03
2.- In function DateTime._julianday (print before return): the final value of "b" is "-13"
3.- In function DateTime. _calDependentSe cond2 (around line 155, print before return x): the value "x" is "3116361600" strftime( print before return): show 02-10-1999
4.- In function DateTime.strftime (print before tzdiff minus): "ltz" is "GTM-6". This is correct.
5.- In function DateTime._tzoffset (executed by tzdiff = _tzoffset(ltz, self._t) - _tzoffset(self._tz, self._t)): show
tzoffset tz=GMT-6, t=1033603200.0
tzoffset= -21600
tzoffset tz=UTC, t=1033603200.0
tzoffset= 0
tzoffset tz=UTC, t=1033581600.0
tzoffset= 0
julian Y=2002 - M=10 - D=2
b= -13
(why enter again to julianday?)
6.- In function DateTime.
help please
some tip please