We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems there is an issue on the function, it chains the function to set the locale with setting the utcOffset while being undefined.
This is the original code:
export function getTodayTime(value) { var today = moment(); today.locale(value.locale()).utcOffset(value.utcOffset()); return today; }
The value I'm passing is just a moment object created from ant.design date picker, but for some reason it can't set it.
I fixed it this way, but it seems it is not setting the locale anyways.
export function getTodayTime(value) { var today = moment(); today.locale(value.locale()) today.utcOffset(value.utcOffset()); return today; }
The text was updated successfully, but these errors were encountered:
this happens when using react lazy import.
Sorry, something went wrong.
No branches or pull requests
It seems there is an issue on the function, it chains the function to set the locale with setting the utcOffset while being undefined.
This is the original code:
The value I'm passing is just a moment object created from ant.design date picker, but for some reason it can't set it.
I fixed it this way, but it seems it is not setting the locale anyways.
The text was updated successfully, but these errors were encountered: