linked icon indicating copy to clipboard operation
linked copied to clipboard

๐Ÿ› - Catalan months are wrong

Open dragonDScript opened this issue 4 years ago โ€ข 4 comments

Describe the bug Catalan months are wrong. They should be "novembre del 2021", and not "de novembre 2021" for example.

To Reproduce Steps to reproduce the behavior:

  1. Pick catalan
  2. See error

Expected behavior They should be "novembre del 2021" or "novembre 2021", as all other latin languages.

Screenshots imagen

Desktop (please complete the following information):

  • linked version: master branch (not released yet)
  • operating system: all (mine is windows 10 home)

dragonDScript avatar Nov 19 '21 16:11 dragonDScript

img

It seems to be a luxon issue, as it also does not react properly in isolation while the INTL API, which is used by luxon, works as expected.

lostdesign avatar Nov 19 '21 16:11 lostdesign

A quick fix would be to show the current day (e.g. 25th November 2021, 25 de novembre del 2021)

ghost avatar Nov 20 '21 13:11 ghost

A quick fix would be to show the current day (e.g. 25th November 2021, 25 de novembre del 2021)

That won't happen as it does not fit well in the design. I'll rather check luxon itself or drop the translation.

lostdesign avatar Nov 20 '21 13:11 lostdesign

A quick fix would be to show the current day (e.g. 25th November 2021, 25 de novembre del 2021)

That won't happen as it does not fit well in the design. I'll rather check luxon itself or drop the translation.

As I told you in the DMs you can use the Intl API to get the month and year and concatenate them, maybe that would work for all languages and fix the design.

ghost avatar Nov 20 '21 13:11 ghost