Closed (fixed)
Project:
IntlDate
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2023 at 15:52 UTC
Updated:
27 Jan 2023 at 20:39 UTC
Jump to comment: Most recent
Portuguese langcode in drupal is "pt-pt". However in IntlDate's langcode=>locale mappings the langcode is "pt". Therefore in Portuguese language the dates come out in English.
Enable Portuguese language.
Create a node in English with date output using intl_date.
Create a Portuguese translation
Open the translation
Expected output:
Portuguese date
Actual result:
English date
Change "pt" in the mapping to "pt-pt"
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
baysaa commentedComment #4
baysaa commentedComment #6
aron novakThanks!