Active
Project:
farmOS
Version:
4.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2016 at 17:09 UTC
Updated:
29 Apr 2025 at 15:21 UTC
Jump to comment: Most recent
Date formatting varies from region to region. We should make it easy to configure the date formatting that is used throughout farmOS.
Drupal provides good configuration for this already, which farmOS is built upon. This will probably be a process of reviewing where dates are displayed in farmOS and making sure that they respect the formats set by Drupal globally.
It may also be worth adding some global farmOS config that can be set during installation.
Comments
Comment #2
BruceDawson commentedI think all dates and times should be stored GMT and then displayed depending on the user's locale.
Comment #3
m.stenta@BruceDawson - I think those two things you mentioned are already happening. This feature request was specifically for allowing the format of the date to be changed by region. Svenn from the monthly call said he wanted his dates to appear as "10 Aug 2016" instead of "Aug 10 2016" like farmOS does by default. Drupal provides some ways of managing date formats like that - we just need to make it easier to configure (possibly by making it an option during installation, like the default system of measurement is).
Comment #4
m.stentaNote: We also need to change the way the date input fields are ordered when you are editing logs (and other date fields). Currently it defaults to "MONTH DAY YEAR HOURS MINUTES SECONDS". This would be in the Date module's code - so hopefully that already has support for it.
Comment #5
m.stentaBumping this to 2.x. I wonder if this is something we can expose in the new /farm/settings form.
FWIW we are standardizing on the "HTML5 Format" for most dates in farmOS lists, but we should dust this off and review in detail again in the new 2.x world.
Comment #6
m.stentaComment #7
m.stenta