logue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero". (A. Einstein)
From: stepharo
To: pharo-users@lists.pharo.org
Sent: Friday, October 28, 2016 4:44 AM
Subject: Re: [Pharo-users] DatePrinter
>> French is already in and there are so grea
French is already in and there are so great class comments that I'm crying
because of outshined by beauty.
Please, don't cry ;-)
Excellent job of sven as usual.
Thx.
The ZTimestamp package also contains ZTimestampFormat (a by-example printer &
parser),
I love it :)
I threw away all my cod
> On 27 Oct 2016, at 14:37, stepharo wrote:
>
> French is already in and there are so great class comments that I'm crying
> because of outshined by beauty.
Please, don't cry ;-)
> Excellent job of sven as usual.
Thx.
The ZTimestamp package also contains ZTimestampFormat (a by-example prin
French is already in and there are so great class comments that I'm
crying because of outshined by beauty.
Excellent job of sven as usual.
french
self monthNames: #(
'Janvier' 'Février' 'Mars' 'Avril' 'Mai' 'Juin'
'Juillet' 'Août' 'Septembre' 'Octobre' 'Novembre' 'Décembre'
2016-10-27 14:22 GMT+02:00 stepharo :
> (ZTimestampFormat fromString: 'SAT, FEB 03 2001 (16:05:06)')
> french
>
#french is your addition? or it was already supported?
Thanks Denis
This is really a great package. I will use it and throw away what I
started.
(ZTimestampFormat fromString: 'SAT, FEB 03 2001 (16:05:06)')
format: ZTimestamp now.
> THU, OCT 27 2016 (12:20:20)
(ZTimestampFormat fromString: 'SAT, FEB 03 2001 (16:05:06)')
I would suggest to look at ZTimestamp
https://github.com/svenvc/docs/blob/master/neo/ztimestamp.md.
Maybe it is not exactly what you want. But example based date/time
formatting and parsing are really nice
2016-10-27 13:20 GMT+02:00 stepharo :
> Hi
>
> for a little project I need to print date in
Hi
for a little project I need to print date in a nice way (for example
french) and I wonder if someone already did that.
Right now I'm extracting behavior from Date and putting it in its own
class so that I can write
testAPI
| datePrinter |
datePrinter := DatePrinter new.
date