mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
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);
|
||
|
}
|