mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 23:38:04 +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>
8 lines
318 B
JavaScript
8 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);
|
|
}
|