0.0.317 locale for datarangepicker.js

This commit is contained in:
2023-12-05 18:52:52 +03:00
parent 87e90d7152
commit 28a36335ce
5 changed files with 18277 additions and 4 deletions

View File

@@ -4,6 +4,38 @@
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
// let locale_ru = {
// direction: "ltr",
// // format: t.localeData().longDateFormat("L"),
// format: "DD.MM.YYYY",
// separator: " - ",
// applyLabel: "Принять",
// cancelLabel: "Отменить",
// weekLabel: "Н",
// customRangeLabel: "Custom Range",
// daysOfWeek: t.weekdaysMin(),
// monthNames: t.monthsShort(),
// firstDay: t.localeData().firstDayOfWeek()
// };
// let locale_en = {
// direction: "ltr",
// // format: t.localeData().longDateFormat("L"),
// format: "DD.MM.YYYY",
// separator: " - ",
// applyLabel: "Apply",
// cancelLabel: "Cancel",
// weekLabel: "W",
// customRangeLabel: "Custom Range",
// daysOfWeek: t.weekdaysMin(),
// monthNames: t.monthsShort(),
// firstDay: t.localeData().firstDayOfWeek()
// };
!function(t,e) {
if ("function" == typeof define && define.amd) define(["moment", "jquery"], function (t, a) {
@@ -52,9 +84,9 @@
// format: t.localeData().longDateFormat("L"),
format: "DD.MM.YYYY",
separator: " - ",
applyLabel: "Apply",
cancelLabel: "Cancel",
weekLabel: "W",
applyLabel: "Принять",
cancelLabel: "Отменить",
weekLabel: "Н",
customRangeLabel: "Custom Range",
daysOfWeek: t.weekdaysMin(),
monthNames: t.monthsShort(),