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

Typo Mistake in gu.js (in Gujarati Language) #6149

Open
in-nevil-gambhava opened this issue Jul 27, 2023 · 1 comment
Open

Typo Mistake in gu.js (in Gujarati Language) #6149

in-nevil-gambhava opened this issue Jul 27, 2023 · 1 comment

Comments

@in-nevil-gambhava
Copy link

Is your feature request related to a problem? Please describe.

File Path : moment/locale/gu.js

@ichernev
In Monent locale gu.js in some typo mistakes are found.

Which is very simple. But it is directly highlighted in the APP GUI. I request you please replace the text in gu.js file and release it in the next update. Because of the end user highlighting this part as a bug with us.

I give a few examples

In Month text

Wanted to show a: ઓકટોબર
But it looks like this: ઑક્ટ્બર
Wanted to show a: ઓક્ટો
But it looks like this: ઑક્ટ્

In Day text

Wanted to show a: બુધવાર
But it looks like this: બુધ્વાર
Wanted to show a: બુધ
But it looks like this: બુધ્

Describe the solution you'd like
I will help you to solve the problem. Change is highlighted below.

Just replace months, monthsShort, weekdays & weekdaysShort. I have reviewed the end of the file(gu.js). All other text is perfect.

var gu = moment.defineLocale('gu', {
        months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઓક્ટોબર_નવેમ્બર_ડિસેમ્બર'.split(
            '_'
        ),
        monthsShort:
            'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઓક્ટો._નવે._ડિસે.'.split(
                '_'
            ),
        monthsParseExact: true,
        weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધવાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
            '_'
        ),
        weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ_ગુરુ_શુક્ર_શનિ'.split('_'),
        weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),

Describe alternatives you've considered

Additional context
image

Thanks, Team Moment

@levinbaria
Copy link

I will solve this issue.
Thanks for your clarification

levinbaria added a commit to levinbaria/moment that referenced this issue Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants