Re: [Pharo-users] Formatting Dates

2019-02-07 Thread Eduardo de Oliveira Padoan
Seems like the method it ends up using, Date>>printDate:format:on:, currently ignores the formatArray given and just prints using -MM-DD. But there's a ExrendedDatePrinter class that implements the same method and does what you expect. I found it using ctrl-m when selecting the expression and

[Pharo-users] Formatting Dates

2019-02-06 Thread sergio ruiz
I have been using this to format dates: printFormat: #(3 2 1 $/ 1 1 2) which goes like: printFormat: formatArray "Answer a String describing the receiver using the argument formatArray." ^ String new: 16 streamContents: [ :aStream | self printOn: aStream format: formatArray ] But i am unclear