[Pharo-project] Problem with Date today, different in pharo 1.0 and 1.1
Hi folks. In Pharo 1.0 I evaluate "Date today start" i get -> 2010-08-13T00:00:00+02:00 and in Pharo 1.1 "Date today start -> 2010-08-13T00:00:00+00:00 so.... in 1.0 I have at the end a +02:00 and in Pharo 1.1 I have +00:00 which one is correct? are we aware of this change? does someone know the issue number of this? thanks mariano
In pharo 1.2 it should be local aware I integrated a fix of sean that made it start by default in localtime. Stef
Hi folks.
In Pharo 1.0 I evaluate "Date today start" i get -> 2010-08-13T00:00:00+02:00
and in Pharo 1.1 "Date today start -> 2010-08-13T00:00:00+00:00
so.... in 1.0 I have at the end a +02:00 and in Pharo 1.1 I have +00:00
which one is correct? are we aware of this change? does someone know the issue number of this?
thanks
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Fri, Aug 13, 2010 at 10:32 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
In pharo 1.2 it should be local aware I integrated a fix of sean that made it start by default in localtime.
mmmm that's seem to be the problem :) If I know run the same in Pharo 1.2: Date today start -> 2010-08-13T00:00:00+02:00 the same as 1.0.... thanks :) mariano
Stef
Hi folks.
In Pharo 1.0 I evaluate "Date today start" i get -> 2010-08-13T00:00:00+02:00
and in Pharo 1.1 "Date today start -> 2010-08-13T00:00:00+00:00
so.... in 1.0 I have at the end a +02:00 and in Pharo 1.1 I have +00:00
which one is correct? are we aware of this change? does someone know the issue number of this?
thanks
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Does that mean that it is wrong in 1.1? BTW, such changes/bugs are important to know for people who run critical applications. So we should carefully documented these. Just one example that bite us: (Duration seconds: 0.5) asSeconds --> 0, whereas in Squeak 3.9 it returned 0.5. Changes like these can break code in subtle ways... Cheers, Adrian On Aug 13, 2010, at 22:35 , Mariano Martinez Peck wrote:
On Fri, Aug 13, 2010 at 10:32 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
In pharo 1.2 it should be local aware I integrated a fix of sean that made it start by default in localtime.
mmmm that's seem to be the problem :)
If I know run the same in Pharo 1.2:
Date today start -> 2010-08-13T00:00:00+02:00
the same as 1.0....
thanks :)
mariano
Stef
Hi folks.
In Pharo 1.0 I evaluate "Date today start" i get -> 2010-08-13T00:00:00+02:00
and in Pharo 1.1 "Date today start -> 2010-08-13T00:00:00+00:00
so.... in 1.0 I have at the end a +02:00 and in Pharo 1.1 I have +00:00
which one is correct? are we aware of this change? does someone know the issue number of this?
thanks
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Issue: http://code.google.com/p/pharo/issues/detail?id=2754 Rationale: http://forum.world.st/Fixed-Issue-2754-DateAndTime-creation-from-string-stre... HTH, Sean -- View this message in context: http://forum.world.st/Problem-with-Date-today-different-in-pharo-1-0-and-1-1... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
I imagine Now we should invest in specification tests. And since we are all busy and we need to sleep sometimes then the system can change without us been really aware. Writing such tests should not be that complex or require specific hard knowledge. Now my plate is ***full*** So expect if the community decides to grow and get mature, I do not see how we can really make progress. Stef On Aug 14, 2010, at 2:55 PM, Adrian Lienhard wrote:
Does that mean that it is wrong in 1.1?
BTW, such changes/bugs are important to know for people who run critical applications. So we should carefully documented these. Just one example that bite us: (Duration seconds: 0.5) asSeconds --> 0, whereas in Squeak 3.9 it returned 0.5. Changes like these can break code in subtle ways...
Cheers, Adrian
On Aug 13, 2010, at 22:35 , Mariano Martinez Peck wrote:
On Fri, Aug 13, 2010 at 10:32 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
In pharo 1.2 it should be local aware I integrated a fix of sean that made it start by default in localtime.
mmmm that's seem to be the problem :)
If I know run the same in Pharo 1.2:
Date today start -> 2010-08-13T00:00:00+02:00
the same as 1.0....
thanks :)
mariano
Stef
Hi folks.
In Pharo 1.0 I evaluate "Date today start" i get -> 2010-08-13T00:00:00+02:00
and in Pharo 1.1 "Date today start -> 2010-08-13T00:00:00+00:00
so.... in 1.0 I have at the end a +02:00 and in Pharo 1.1 I have +00:00
which one is correct? are we aware of this change? does someone know the issue number of this?
thanks
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Adrian Lienhard -
Mariano Martinez Peck -
Sean P. DeNigris -
Stéphane Ducasse