mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 10:54:44 +01:00
85fb33a65f
- update to latest version and move to npm - adapt for api changes and css class rename - add specificity to arc-green rules as dependency css now loads later - use imports-loader to make it load correctly - fix some wrong paths in librejs Co-authored-by: techknowlogick <techknowlogick@gitea.io>
9 lines
318 B
JavaScript
9 lines
318 B
JavaScript
export default async function initDateTimePicker(locale) {
|
|
await Promise.all([
|
|
import(/* webpackChunkName: "datetimepicker" */'jquery-datetimepicker'),
|
|
import(/* webpackChunkName: "datetimepicker" */'jquery-datetimepicker/build/jquery.datetimepicker.min.css'),
|
|
]);
|
|
|
|
$.datetimepicker.setLocale(locale);
|
|
}
|