Hi Sven, thank you for the quick fix. It works fine now. I do not call this directly but from DateAndTime date: self endDate time: self endTime Your example: I am no english native speaker but I assume, that 'saterday' should be spelled as 'saturday'. If yes, there are several occurences of saterday. I saw this when trying your example: (ZTimestampFormat fromString: 'Saterday, 3 February, 2001') german; format: Date today. ==>>'Samstag, 1 Februar, 2014' (ZTimestampFormat fromString: 'Saturday, 3 February, 2001') german; format: Date today. ==>>'Samurday, 1 Februar, 2014' Also, 'Samurday' is no german word. 'Saturday' means 'Samstag' in German. Regards Sabine On Sat, Feb 1, 2014 at 1:31 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Sabine,
On 01 Feb 2014, at 12:52, Sabine Knöfel <sabine.knoefel@gmail.com> wrote:
Hi Sven,
could you change Februari into February please?
Ah, terrible typo, it was all over the place.
=== Name: ZTimestamp-SvenVanCaekenberghe.32 Author: SvenVanCaekenberghe Time: 1 February 2014, 1:27:02.50151 pm UUID: 70fd3b88-e15e-4139-922c-9c602e3fc532 Ancestors: ZTimestamp-SvenVanCaekenberghe.31
The English spelling of the 2nd month name was consistently wrong: Februari instead of the correct February (thx Sabine Knöfel); Now use #monthIndex instead of the less consistent #month ===
Btw, did you know you can do:
(ZTimestampFormat fromString: 'Saterday, 3 February, 2001') german; format: Date today.
=> 'Samstag, 1 Februar, 2014'
Regards,
Sven
(I use http://mc.stfx.eu/Neo, this is the right place?)
Regards Sabine
ZTimestamp>>monthName "Return the English name of the month of the receiver, according to the Gregorian calendar, a Symbol"
^ #(January Februari March April May June July August September October November December) at: self monthIndex
-- View this message in context: http://forum.world.st/ZTimestamp-monthName-spelling-error-tp4740821.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.