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

Momento Warning #37281

Closed
2 tasks done
Satoshi-Sh opened this issue Feb 9, 2024 · 3 comments · Fixed by #37285
Closed
2 tasks done

Momento Warning #37281

Satoshi-Sh opened this issue Feb 9, 2024 · 3 comments · Fixed by #37285
Labels
area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug

Comments

@Satoshi-Sh
Copy link
Contributor

Apache Airflow version

2.8.1

If "Other Airflow 2 version" selected, which one?

No response

What happened?

When I sign in to the Airflow client. Moment gives a warning in the browser terminal.

Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. Arguments: [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 2024-02-09T03:36:42T+00:009, _f: undefined, _strict: undefined, _locale: [object Object]

Screenshot from 2024-02-09 09-53-28

What you think should happen instead?

No warning should be shown.

How to reproduce

  1. Run the webserver locally
  2. Sign in and open the browser terminal, and you will see the warning.

Operating System

Ubuntu 22.04.3 LTS

Versions of Apache Airflow Providers

No response

Deployment

Docker-Compose

Deployment details

No response

Anything else?

If you have a contribution guide for the website, I would like to know where it is.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Satoshi-Sh Satoshi-Sh added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Feb 9, 2024
Copy link

boring-cyborg bot commented Feb 9, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@Taragolis Taragolis added area:UI Related to UI/UX. For Frontend Developers. and removed needs-triage label for new issues that we didn't triage yet area:core labels Feb 9, 2024
@rafidka
Copy link

rafidka commented Mar 31, 2024

Not directly related to this, but Airflow should move off of momentjs altogether at some point. The project is long considered legacy and developers are encouraged not to use it by the authors of momentjs themselves:

https://momentjs.com/docs/#/-project-status/

@potiuk
Copy link
Member

potiuk commented Apr 2, 2024

Not directly related to this, but Airflow should move off of momentjs altogether at some point. The project is long considered legacy and developers are encouraged not to use it by the authors of momentjs themselves:

https://momentjs.com/docs/#/-project-status/

Could you plese open an issue for that @rafidka ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. kind:bug This is a clearly a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants