This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: Report a reproducible defect in Moment.js
title: '[Bug] '
body:
- type: markdown
attributes:
value: |
Moment.js is in maintenance mode and is not accepting new features.
Use this form only for reproducible defects in Moment.js core.
Reports are assessed individually; submitting a valid defect does not
guarantee that a code change will be made.
- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
options:
- label: I searched existing issues for this problem.
required: true
- label: I read the applicable [documentation](https://momentjs.com/docs/) and [guides](https://momentjs.com/guides/).
required: true
- label: I reproduced the problem with the latest Moment.js release.
required: true
- label: I confirmed this belongs to Moment.js core, not [Moment Timezone](https://github.com/moment/moment-timezone/issues), [Luxon](https://github.com/moment/luxon/issues), or the [momentjs.com website](https://github.com/moment/momentjs.com/issues).
required: true
- type: textarea
id: description
attributes:
label: Description
description: Describe the defect and when it occurs.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Minimal reproduction
description: Provide the smallest complete example that reproduces the problem.
render: javascript
validations:
required: true
- type: input
id: reproduction-link
attributes:
label: Reproduction link
description: Optionally link to a runnable reproduction.
placeholder: https://...
- type: textarea
id: actual
attributes:
label: Actual behavior
description: Include the exact output or error.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected behavior
description: Include the exact output you expected and why.
validations:
required: true
- type: input
id: moment-version
attributes:
label: Moment.js version
placeholder: 2.30.1
validations:
required: true
- type: input
id: runtime
attributes:
label: Runtime
description: Include the Node.js or browser name and version.
placeholder: Node.js 22.22.2 or Chrome 140
validations:
required: true
- type: input
id: loading
attributes:
label: Loading method
description: Describe how Moment.js is imported or loaded if it is not evident from the code sample.
placeholder: npm CommonJS, ESM bundle, or CDN script
- type: input
id: locale
attributes:
label: Locale
description: Include the active locale if it may affect the result.
placeholder: en, pt-br, or not applicable
- type: input
id: timezone
attributes:
label: Time zone
description: Include the system time zone or UTC offset if relevant.
placeholder: America/New_York, UTC-05:00, or not applicable
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Include relevant dates, dependencies, screenshots, or other details.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: Report incorrect locale data or locale-specific behavior
title: '[Locale] '
body:
- type: markdown
attributes:
value: |
Moment.js uses the latest published Unicode CLDR data as its preferred
baseline. Differences from CLDR can be accepted when strong evidence
shows that another convention is better supported. Sources are helpful
but are not required; maintainers will independently validate reports.
- type: checkboxes
id: prerequisites
attributes:
label: Prerequisites
options:
- label: I searched existing issues for this locale behavior.
required: true
- label: I reproduced the behavior with the latest Moment.js release.
required: true
- label: If this behavior was previously discussed, I addressed the prior decision and explained what has changed.
required: true
- type: input
id: locale
attributes:
label: Locale
description: Provide the Moment.js locale identifier.
placeholder: pt-br
validations:
required: true
- type: textarea
id: current-behavior
attributes:
label: Current behavior
description: Provide code or steps and the exact output Moment.js currently produces.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Provide the exact expected output.
validations:
required: true
- type: textarea
id: context
attributes:
label: Language or cultural context
description: Explain the relevant grammar, notation, calendar rule, or other convention.
validations:
required: true
- type: textarea
id: sources
attributes:
label: Supporting sources
description: Optionally link to CLDR, standards, dictionaries, style guides, official calendars, or evidence of contemporary usage. For a repeated proposal, explain what new context or evidence supports reconsideration.
- type: input
id: moment-version
attributes:
label: Moment.js version
placeholder: 2.30.1
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Include any other forms, dates, or boundary cases affected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[pull] develop from moment:develop #45
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
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
[pull] develop from moment:develop #45
Filter by extension
Only manifest files
Deleted files Viewed files
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.