Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
375 Представления

The Odoo 19 Datepicker format default is MMM d.  It could have been better left as MM/dd/YYYY.

Changing the date format is desperating

Аватар
Отменить
Лучший ответ

Hello,

Go to settings  >>>  Translations  >>>  Languages 


Аватар
Отменить
Автор Лучший ответ

Where can I get that javascript override to change the datepicker format? I prefer to have it in MM/dd/YYYY because in the report during the printing, old documents will not show the date.  (I can create a computed field though but takes extra coding).

Аватар
Отменить

Reports always show the full date.

hi Ray,

Thanks for the reply. I will test the report.  Its good if the actual pdf will show whole date.

John

On Fri, Sep 26, 2025 at 12:35 AM Ray Carnes (ray) <ray@odoo.com> wrote:
Reports always show the full date. ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

Reports always show the full date.

--

    

Ray Carnes
Global Project Delivery
odoo


Лучший ответ

We changed the date format in Odoo 19 based on user interface/user experience research showing that including a textual representation of the month is easier and more reliable to interpret than all-numeric formats. It reduces cognitive load on Users.

For any date field or date time field in Odoo 19 you can hover over it to see the traditional format:


Аватар
Отменить

Hi, I am a newbie here, just in fact testing and learning Odoo to see if I can use it in my small new company. Seeing that I cannot easilly set the prefered date format in all views came as a big surprise and dissapointment. People from various regions are used to various ways of displaying the date, and forcing everybody to use a format often totally different from the standard they are used to increases the cognitive load, instead of decreasing it. For me it poses a problem.

Лучший ответ

Hi,

In Odoo 19, the datepicker defaults to MMM d (e.g., Sep 18) because it uses the Luxon library with localized formats, which can be confusing compared to the old MM/dd/yyyy. You can change this by editing the Language → Date Format in settings, but the picker may still show abbreviated months. The most reliable fix is a small JavaScript override in a custom module to force MM/dd/yyyy everywhere..





Hope it helps

Аватар
Отменить