ZTimestamp>>monthName spelling error
Hi Sven, could you change Februari into February please? (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.
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.
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.
This is becoming really embarrassing. Before I do another commit, this is all correct, right ? german self monthNames: #( 'Januar' 'Februar' 'März' 'April' 'Mai' 'Juni' 'Juli' 'August' 'September' 'Oktober' 'November' 'Dezember' ). self weekdayNames: #( 'Sonntag' 'Montag' 'Dienstag' 'Mittwoch' 'Donnerstag' 'Freitag' 'Samstag' ) On 01 Feb 2014, at 15:15, Sabine Knöfel <sabine.knoefel@gmail.com> 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. 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.
Hi Sven, the german translations are all correct. Thanks :) Sabine Am 01.02.2014 15:44 schrieb "Sven Van Caekenberghe" <sven@stfx.eu>:
This is becoming really embarrassing.
Before I do another commit, this is all correct, right ?
german self monthNames: #( 'Januar' 'Februar' 'März' 'April' 'Mai' 'Juni' 'Juli' 'August' 'September' 'Oktober' 'November' 'Dezember' ). self weekdayNames: #( 'Sonntag' 'Montag' 'Dienstag' 'Mittwoch' 'Donnerstag' 'Freitag' 'Samstag' )
On 01 Feb 2014, at 15:15, Sabine Knöfel <sabine.knoefel@gmail.com> 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. 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.
Sabine, On 01 Feb 2014, at 15:15, Sabine Knöfel <sabine.knoefel@gmail.com> 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 <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.
Am 01.02.2014 um 17:26 schrieb Sven Van Caekenberghe <sven@stfx.eu>:
Sabine,
On 01 Feb 2014, at 15:15, Sabine Knöfel <sabine.knoefel@gmail.com> 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â
Does ZTimestampFormat handle the formatting of the date? If so then for germany it would be Samstag, 1. Februar 2014 Norbert
Thanks for the feedback.
Sven
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.
On 02 Feb 2014, at 10:44, Norbert Hartl <norbert@hartl.name> wrote:
Now that example should work:
(ZTimestampFormat fromString: 'Saturday, 3 February, 2001') german; format: Date today.
=> 'Samstag, 1 Februar, 2014â
Does ZTimestampFormat handle the formatting of the date? If so then for germany it would be
Samstag, 1. Februar 2014
ZTimestampFormat works 'by example', substituting known keys for actual values, possibly translated. It cannot reorder the specification. So it does not properly handle locale. But you could work around this limitation a bit by adjusting the format to the locale. In the above example: (ZTimestampFormat fromString: 'Saturday, 3. February 2001') german; format: Date today. should do the trick. Sven
Thank you for the fix, Sven. It works fine now. Sabine On Sat, Feb 1, 2014 at 5:26 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Sabine,
On 01 Feb 2014, at 15:15, Sabine Knöfel <sabine.knoefel@gmail.com> 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 <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.
participants (3)
-
Norbert Hartl -
Sabine Knöfel -
Sven Van Caekenberghe