ytgov / yukon-ca

New version of Yukon.ca, built on Drupal 10
1 stars 1 forks source link

(WIP, don't merge) Task #64840: Consistent date formatting #506

Closed ew-fedir closed 16 hours ago

ew-fedir commented 3 days ago

General description:

  1. Task #465.
  2. All date-formats were updated according to Date and time from the style guide. Only HTML * were skipped.
  3. After update the following formats are used on site
machine name Old name New name Example EN
long_format Long Long Monday, July 1, 2024 - 14:43
long Default long date Long with Time Monday, July 1, 2024
medium_format Medium *new Medium July 1, 2024
medium Default medium date Medium with Time July 1, 2024 - 14:43
short_format Short *new Short 2024-01-07
short Default short date Short with Time 2024-01-07 - 16:45
time_am_pm Time am/pm Time am/pm 4:42 PM
fallback Fallback date format Fallback date format Monday, July 1, 2024 - 16:42
  1. The following date-format transition were performed:
    • long_format -> medium_format
    • yg_long -> medium_format
    • long_with_time -> medium
ew-fedir commented 16 hours ago

Closed because there are some unwanted changes from other task.