Sabine,

On 01 Feb 2014, at 15:15, Sabine Knöfel <[email protected]> wrote:

> 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.

Terrible spelling of me!

===
Name: ZTimestamp-SvenVanCaekenberghe.33
Author: SvenVanCaekenberghe
Time: 1 February 2014, 5:18:50.139922 pm
UUID: 40111894-d387-432a-a3e1-2245af4a269b
Ancestors: ZTimestamp-SvenVanCaekenberghe.32

Even worse: Saterday => Saturday (thx Sabine Knöfel)
===

ConfigurationOfZTimestamp has been updated everywhere.

> 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.

Now that example should work:

(ZTimestampFormat fromString: 'Saturday, 3 February, 2001')
        german;
        format: Date today. 

=> 'Samstag, 1 Februar, 2014'

Thanks for the feedback.

Sven

> Regards
> Sabine
> 
> 
> On Sat, Feb 1, 2014 at 1:31 PM, Sven Van Caekenberghe <[email protected]> wrote:
> Sabine,
> 
> On 01 Feb 2014, at 12:52, Sabine Knöfel <[email protected]> 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.
> >
> 
> 
> 


Reply via email to