mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 15:14:24 +00: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);
|
|
}
|