-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathtail.datetime-ru.js
32 lines (32 loc) · 1.49 KB
/
tail.datetime-ru.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
| tail.DateTime - A pure, vanilla JavaScript DateTime Picker
| @file ./langs/tail.datetime-ru.js
| @author SamBrishes <https://github.com/pytesNET/tail.DateTime/>
| @version 0.4.0 - Alpha
|
| @fork MrGuiseppe <https://github.com/MrGuiseppe/pureJSCalendar/>
| This script started as fork and is now completely independent!
|
| @license X11 / MIT License
| @copyright Copyright © 2018 - SamBrishes, pytesNET <[email protected]>
*/
;(function(factory){
if(typeof(define) == "function" && define.amd){
define(function(){
return function(datetime){ factory(datetime); };
});
} else {
if(typeof(window.tail) != "undefined" && window.tail.DateTime){
factory(window.tail.DateTime);
}
}
}(function(datetime){
datetime.strings.register("ru", {
months: ["январь", "февраль", "март", "апрель", "май", "июнь", "июль", "август", "сентябрь", "октябрь", "ноябрь", "декабрь"],
days: ["воскресенье", "понедельник", "вторник", "среда","четверг","пятница","суббота",],
shorts: ["вс", "пн", "вт", "ср", "чт", "пт", "сб"],
time: ["часов", "минут", "секунд"],
header: ["Выберите месяц", "Выберите год", "Выберите Десятилетие", "Выберите время"]
});
return datetime;
}));