Hi guys
I've been looking at languages and the date formats / time formats.
If I look in the code I can see the language being fetched from the settings of your Ubuntu machine from the file misc.py under /openerp/tools/misc.py
I've modified the locales file for en_US under /usr/share/i18n/locales/en_US and the same for nl_NL like this:
en_US:
% Appropriate date representation (%x)
% "%d/%m/%Y"
d_fmt "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0059>"nl_NL:
d_fmt "<U0025><U0064><U002D><U0025><U006D><U002D><U0025><U0079>"
Yet my date format when creating a new Odoo db is still wrong. I will get %m/%d/%Y for en_US and %d-%m-%Y for nl_NL..
Can anybody tell me where exactly I should set the date format for a specific format? I've been trying some things for hours but nothing succeeds.
NOTE: I'm not talking about modifying the date format manually under settings > Languages but I'm talking about setting the dateformat without accessing the languages menu, so by code.
With kind regards
Yenthe