Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomdlmurphy opened this issue May 17, 2023 · 2 comments
Open

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

tomdlmurphy opened this issue May 17, 2023 · 2 comments
Labels

Comments

@tomdlmurphy
Copy link

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.
Screen Shot 2023-05-17 at 12 33 57 PM

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)

Screen Shot 2023-05-17 at 12 36 46 PM

Additional context
Add any other context about the problem here.

@jentran02
Copy link

Hello, I am seeing the same issue. Would you guys be able to provide an ETA on the correction? This link is from the Canadian government and can help you in your research to make the proper decision on 'removing the 'e' the only time a letter can be shown after the number is for the '1' of the month. all the other one are consider a spelling mistake. https://www.btb.termiumplus.gc.ca/tpv2guides/guides/clefsfp/index-fra.html?lang=fra&lettr=indx_catlog_d&page=9lcOojjUrxt8.html#:~:text=Date%20tout%20en%20chiffres,-L'%C3%A9criture%20de&text=Le%20Bureau%20de%20la%20traduction,repr%C3%A9sente%20le%204%20mars%202016)

@ichernev
Copy link
Contributor

Submit a PR. You don't expect moment devs to know all languages, I hope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants