aehanno commented on code in PR #20063:
URL: https://github.com/apache/superset/pull/20063#discussion_r876228250
##########
superset-frontend/src/explore/components/controls/DateFilterControl/components/CustomFrame.tsx:
##########
@@ -132,6 +139,7 @@ export function CustomFrame(props: FrameComponentProps) {
onChange('sinceDatetime', datetime.format(MOMENT_FORMAT))
}
allowClear={false}
+ locale={locale}
Review Comment:
Hey @zhaoyongjie, I change the process to choose dynamicly the locale.
I use a list instead of import all local we need
Just for french translation, there is a bug in antd. We can't distinguish
the fr from france and belgium properly so I add a if for now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]