Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Local set to 'fr' doesn't work correctly when visualising a dataset #3327
CKAN Version if known (or site URL)
CKAN version 2.6.0
Please describe the expected behaviour
Dataset should adjust datetime when locale is set to 'fr'.
Please describe the actual behaviour
An error is generated while accessing a dataset when local is set to fr. (http://my-domain/fr/dataset/dataset-name)
Logs show this message:
File '/usr/lib/ckan/default/src/ckan/ckan/lib/formatters.py', line 152 in localised_nice_date
The problem doesn't exist with locale different than 'fr'.
The problem can be fixed temporarily by changing the value in ckan/i18n/fr/LC_MESSAGES/ckan.po.
Note that the catalog is marked as fuzzy, so you'll have to force catalog compiling:
What steps can be taken to reproduce the issue?