iamkun / iamkun/dayjs

Slovenian localized formats not by standard

Open
#1,826 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When dayjs is set to Slovenian locale and when localized format strings are used for formatting, the displayed date is wrong.
Looking at the locale file, L is set to "DD.MM.YYYY" instead of "D. M. YYYY".

**Expected behavior**
L format in Slovenian locale should display date as 24. 5. 1992. So day and month should never prepend "0" and space should be added after dots.

Contributor guide

Open the contributing guide

Research direction

Start by locating Day.js's Slovenian locale file and the tests for localized date formats. Compare the locale's L definition with the expected Slovenian pattern described in the issue. Update the locale data and run the relevant locale or format tests to confirm that L renders the intended date.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
localization
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.