|
Michael Weimann opened 3 years ago
|
||||
New commits added 3 years ago
|
|||||
![]() |
Released
|
||||
|
I think formatting the dates should be extracted to a separate task. |
||||
![]() |
Investigate it further, and it turns out that Wicket i18n support is quite elegant. And we can implement this feature modifying three places:
With this code, Wicket will load flatpickr-locale_<language>.js automatically based on browser language, and fallback to flatpickr-locale.js if relevant language file does not exist
|
||||
![]() |
Please ignore suggested change #1 above. Your current code of setting flatpickr locale is more robust:
|
||||
New commits added 3 years ago
|
|||||
|
For some reasons I ended up in the 6.x docs. So OneDev uses Wicket 7?
Done
And done
I would have placed it in a subfolder since the many files are kind of confusing. |
||||
|
Michael Weimann changed title 3 years ago
|
||||
![]() |
Robin Shen approved 3 years ago
|
||||
![]() |
Robin Shen merged 3 years ago
|
Submitter | Michael Weimann |
Target | main |
Source | onedev-server.mweimann:feature-datepicker-localisation |
Adds date picker localisation.
resolve issue onedev-server#235