On Domingo, 25 de Octubre de 2009 21:51:19 netdieter escribió:
> Hi,
> ich have a localizationfile in locales/de.yml
> with followin entry:
> date:
> formats:
> default: "%d.%m.%Y"
> short: "%e. %b"
> long: "%e. %B %Y"
> only_day: "%e"
>
> It looks like AS uses the long format and not the default.
>
> How can i configure AS to use the default or the short format?
config.columns[:column_name].options = {:format => :short}
--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---