#6149·moment

Typo Mistake in gu.js (in Gujarati Language)

Author: in-nevil-gambhavaCreated Jul 27, 2023Updated Sep 8, 2026

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

Thanks, Team Moment