Skip to content

fix(ui): import moment.js library with moment-timezone support in wrapper - #3977

Merged
rjsparks merged 2 commits into
ietf-tools:mainfrom
painless-security:jennifer/moment-import
May 18, 2022
Merged

fix(ui): import moment.js library with moment-timezone support in wrapper#3977
rjsparks merged 2 commits into
ietf-tools:mainfrom
painless-security:jennifer/moment-import

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

Packaging changes broke the mechanism used to make moment.tz available to javascript code. This eliminates the separate moment.js and moment-timezone-with-data-10-year-range.js wrappers and instead imports the timezone-augmented version directly. This provides both the timezone support and the regular moment features.

Packaging changes broke the mechanism used to make moment.tz available
to javascript code. This eliminates the separate moment.js and
moment-timezone-with-data-10-year-range.js wrappers and instead
imports the timezone-augmented version directly. This provides both
the timezone support and the regular moment features.
@jennifer-richards
jennifer-richards requested a review from NGPixel May 16, 2022 19:45
@jennifer-richards

Copy link
Copy Markdown
Member Author

The failing checks are due to validation errors that I believe are addressed by #3975

@NGPixel NGPixel changed the title fix: import moment.js library with moment-timezone support in wrapper fix(ui): import moment.js library with moment-timezone support in wrapper May 17, 2022
@rjsparks
rjsparks merged commit 4a55838 into ietf-tools:main May 18, 2022
@jennifer-richards
jennifer-richards deleted the jennifer/moment-import branch May 30, 2022 19:10
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants