Problem/Motivation
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.
Steps to reproduce
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
Proposed resolution
Change "pt" in the mapping to "pt-pt"
Issue fork intl_date-3333389
Show commands
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!