Skip to content

Commit cee18f8

Browse files
committed
Add: Czech locale (Thanks to: Jan Zatloukal)
1 parent 95a1125 commit cee18f8

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ https://github.com/mugifly/jquery-simple-datetimepicker/
44
1.8.0 2013-10-xx (JST)
55
- [Add] Portuguese locale (Thanks to: adc-tcarvalho).
66
- [Add] Dutch locale (Thanks to: Mondane).
7+
- [Add] Czech locale (Thanks to: Jan Zatloukal).
78
- [Fix] Fixing positioning when element is inside of nested relative parent (Thanks to: AddoSolutions).
89

910
1.7.0 2013-09-16

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Thank you to:
4242
* [adc-tcarvalho](https://github.com/adc-tcarvalho)
4343
* [Mondane](https://github.com/Mondane)
4444
* [AddoSolutions](https://github.com/AddoSolutions)
45+
* [Jan Zatloukal](http://rotten77.cz/)
4546

4647
## License and author
4748

jquery.simple-dtpicker.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ <h5>Available locales:</h5>
9999
<li>"ko" : Korean - Thanks to: <a href="https://github.com/perhapsspy">perhapsspy</a></li>
100100
<li>"pt" : Portuguese - Thanks to: <a href="https://github.com/adc-tcarvalho">adc-tcarvalho</a></li>
101101
<li>"nl" : Dutch (Naderlands) - Thanks to: <a href="https://github.com/Mondane">Mondane</a></li>
102+
<li>"cz" : Czech - Thanks to: <a href="http://rotten77.cz/">Jan Zatloukal</a></li>
102103
</ul>
103104

104105
<h4>Change the interval of minute ("minuteInterval": 15)</h4>

jquery.simple-dtpicker.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
var DAYS_OF_WEEK_ES = ['dom', 'lun', 'mar', 'miér', 'jue', 'vié', 'sáb'];
1919
var DAYS_OF_WEEK_KO = ['일', '월', '화', '수', '목', '금', '토'];
2020
var DAYS_OF_WEEK_NL = ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'];
21+
var DAYS_OF_WEEK_CZ = ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'];
2122
var MONTHS_EN = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
2223
var MONTHS_RU = [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ];
2324
var MONTHS_BR = [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ];
@@ -30,6 +31,7 @@
3031
var MONTHS_ES = [ "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic" ];
3132
var MONTHS_KO = [ "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" ];
3233
var MONTHS_NL = [ "jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec" ];
34+
var MONTHS_CZ = [ "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro" ];
3335

3436
var PickerObjects = [];
3537
var InputObjects = [];
@@ -123,6 +125,8 @@
123125
format = "DD/MM/YYYY hh:mm";
124126
}else if (locale === "nl"){
125127
format = "DD-MM-YYYY hh:mm";
128+
}else if (locale === "cz"){
129+
format = "DD.MM.YYYY hh:mm";
126130
}else{
127131
format = "YYYY-MM-DD hh:mm";
128132
}

0 commit comments

Comments
 (0)