[ckan-dev] spanish date format

Toby Dacre toby.okfn at gmail.com
Tue Jun 25 12:28:23 UTC 2013


On 25 June 2013 12:52, Isabel Ruiz <isaruizmellado at gmail.com> wrote:
> Hi!
>
> I'm configuring CKAN 2.0.1 in spanish language.
>
> I have added datasets and resources.
>
> Resources Additional Information shows last update and create fields like
> this:
>
> Last update           Jun 24, 2013
> Created                 Jun 24, 2013
>
> Spanish date are like this:
>
> Last update           24 of jun 2013
> or
> Last update           24/06/2013

yeah this is wrong.
one option is to pass a date_format to h.render_datetime() where it is
used but that is still broken

really we should be using lib.formatters.localised_nice_date()

but looking '{month} {day}, {year}' has not been translated correctly
in Spanish looks like it should be '{day} <of>  {month}, {year}' this
might not be very clear to translators

I have created an issue here https://github.com/okfn/ckan/issues/1041

>
> That is: day + month + year or DD/MM/YYYY (DD: day, MM: month, YYYY: year).
>
> How or where can I configure this date format?
>
>
> --
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>



-- 
Toby Dacre

The Open Knowledge Foundation

Empowering through Open Knowledge
http://okfn.org/  |  @okfn




More information about the ckan-dev mailing list