[Radiant] Names of months in Archive Extension
Mathieu Arnold
mat at mat.cc
Thu Oct 25 09:00:15 CDT 2007
+-le 25.10.2007 15:43:15 +0200, Artur Baldyga a dit :
| Mathieu Arnold wrote:
|> +-le 23.10.2007 13:33:01 +0200, Artur Baldyga a dit :
|> | Hi,
|> |
|> | I want to have listed archive with months and years in polish language.
|> | By default this is english language. If I use command:
|> | "<r:date format="%B %Y" />" I got for example June 2007. Instead of
|> | "June" I want to have polish equivalent. What I have to do??
|>
|> You'll need some kind of polish extension, like the one I made for
|> french
|> dates[1].
|>
|> Regards,
|>
|> 1: http://mat.cc/dev/index.cgi/french_dates/
|> and http://mat.cc/dev/index.cgi/french_dates/archive/tip.tar.gz
|
| I've downlaod your extension and try to install, but got error during
| rake:
|
| rake aborted!
| undefined method `to_datetime' for class `Time'
Hum, I have no clue about that, because, hum, it works for me.
The <require 'date'> should take care of creating the private methods, I
don't see why it does not for you.
Maybe an old ruby version ?
--
Mathieu Arnold
More information about the Radiant
mailing list