wintercms / wintercms/winter

MomentJS outdated

Open
#825 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.5k
Forks
246
Avg merge
19h 2m
Merged PRs (30d)
7

Description

Winter CMS Build

dev-develop

PHP Version

8.0

Database engine

MySQL/MariaDB

Plugins installed

No response

Issue description

MomentJS outdated:

2023-01-25_001215

https://github.com/wintercms/winter/tree/develop/modules/system/assets/ui/vendor/moment

Steps to replicate

Go to Back-end preferences /backend/backend/preferences and set Timezone to Europe/Kyiv

2023-01-25_001329

Save and go to Dashboard. Open the console in your browser and you will see this error.

Workaround

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the vendored MomentJS files under modules/system/assets/ui/vendor/moment and reproduce the issue from Back-end preferences at /backend/backend/preferences with the timezone set to Europe/Kyiv. Update the outdated asset and verify that the browser console error no longer appears on the Dashboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.