#6131·moment

French (Canada) date format includes an 'e' after the number

Author: tomdlmurphyCreated May 17, 2023Updated Dec 27, 2023
LabelsLanguage

Describe the bug A clear and concise description of what the bug is. French (Canada) date format includes an 'e' after the number. This is not correct. French Canadian does not have an 'e' after the number in dates

To Reproduce Steps to reproduce the behavior:

  1. Go to your website https://momentjs.com/
  2. Click on the "French (Canada)" button to show the example dates in French (Canada)
  3. Scroll up to see the dates

Expected behavior The dates should have no 'e' after the number

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: iOS
  • Browser Chrome
  • Version 113.0.5672.126 (Official Build) (arm64)

Moment-specific environment

  • The time zone setting of the machine the code is running on: GMT-4:00
  • The time and date at which the code was run GMT-4:00

Please run the following code in your environment and include the output:

console.log((new Date()).toString())
console.log((new Date()).toLocaleString())
console.log((new Date()).getTimezoneOffset())
console.log(navigator.userAgent)
console.log(moment.version)

Additional context Add any other context about the problem here.