Skip to content

Commit 218d8aa

Browse files
committed
Merge pull request #67 from mugifly/1.8.x
v1.8.0
2 parents 5beebf3 + 0f5f857 commit 218d8aa

File tree

5 files changed

+35
-3
lines changed

5 files changed

+35
-3
lines changed

CHANGES

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
Version history for query-simple-datetimepicker
22
https://github.com/mugifly/jquery-simple-datetimepicker/
33

4-
1.7.0 2013-09-xx
4+
1.8.0 2013-10-17 (JST)
5+
- [Add] Portuguese locale (Thanks to: adc-tcarvalho).
6+
- [Add] Dutch locale (Thanks to: Mondane).
7+
- [Add] Czech locale (Thanks to: Jan Zatloukal).
8+
- [Add] French locale (Thanks to: Jan matll42).
9+
- [Add] Italian locale (Thanks to: Mauro Zuccato).
10+
- [Fix] Fixing positioning when element is inside of nested relative parent (Thanks to: AddoSolutions).
11+
12+
1.7.0 2013-09-16
513
- [Add] Korean locale (Thanks to: perhapsspy).
614
- [Add] "futureOnly" option and bugfix (Thanks to: camiel).
715
- [Add] "dateOnly" option (Thanks to: logitick).
@@ -64,4 +72,4 @@ https://github.com/mugifly/jquery-simple-datetimepicker/
6472

6573
----
6674

67-
Thanks to contributors!
75+
Thanks to contributors!

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ Thank you to:
3939
* [perhapsspy](https://github.com/perhapsspy)
4040
* [camiel](https://github.com/camiel)
4141
* [logitick](https://github.com/logitick)
42+
* [adc-tcarvalho](https://github.com/adc-tcarvalho)
43+
* [Mondane](https://github.com/Mondane)
44+
* [AddoSolutions](https://github.com/AddoSolutions)
45+
* [Jan Zatloukal](http://rotten77.cz/)
46+
* [matll42](https://github.com/matll42)
47+
* Mauro Zuccato
4248

4349
## License and author
4450

jquery.simple-dtpicker.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ <h5>Available locales:</h5>
9797
<li>"tr" : Turkish - Thanks to: <a href="https://github.com/myfell">myfell</a></li>
9898
<li>"es" : Spanish - Thanks to: <a href="https://github.com/maw">maw</a></li>
9999
<li>"ko" : Korean - Thanks to: <a href="https://github.com/perhapsspy">perhapsspy</a></li>
100+
<li>"pt" : Portuguese - Thanks to: <a href="https://github.com/adc-tcarvalho">adc-tcarvalho</a></li>
101+
<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>
103+
<li>"fr" : French - Thanks to: <a href="https://github.com/matll42">matll42</a></li>
104+
<li>"it" : Italian - Thanks to: Mauro Zuccato</li>
100105
</ul>
101106

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

jquery.simple-dtpicker.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
var DAYS_OF_WEEK_DE = ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'];
1515
var DAYS_OF_WEEK_SV = ['Sö', 'Må', 'Ti', 'On', 'To', 'Fr', 'Lö'];
1616
var DAYS_OF_WEEK_ID = ['Min','Sen','Sel', 'Rab', 'Kam', 'Jum', 'Sab'];
17+
var DAYS_OF_WEEK_IT = ['Dom','Lun','Mar', 'Mer', 'Gio', 'Ven', 'Sab'];
1718
var DAYS_OF_WEEK_TR = ['Pz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cu', 'Cts'];
1819
var DAYS_OF_WEEK_ES = ['dom', 'lun', 'mar', 'miér', 'jue', 'vié', 'sáb'];
1920
var DAYS_OF_WEEK_KO = ['일', '월', '화', '수', '목', '금', '토'];
2021
var DAYS_OF_WEEK_NL = ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'];
22+
var DAYS_OF_WEEK_CZ = ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'];
2123
var DAYS_OF_WEEK_FR = ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'];
24+
2225
var MONTHS_EN = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
2326
var MONTHS_RU = [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ];
2427
var MONTHS_BR = [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ];
@@ -27,10 +30,12 @@
2730
var MONTHS_DE = [ "Jan", "Feb", "März", "Apr", "Mai", "Juni", "Juli", "Aug", "Sept", "Okt", "Nov", "Dez" ];
2831
var MONTHS_SV = [ "Jan", "Feb", "Mar", "Apr", "Maj", "Juni", "Juli", "Aug", "Sept", "Okt", "Nov", "Dec" ];
2932
var MONTHS_ID = [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des" ];
33+
var MONTHS_IT = [ "Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic" ];
3034
var MONTHS_TR = [ "Ock", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Agu", "Eyl", "Ekm", "Kas", "Arlk" ];
3135
var MONTHS_ES = [ "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic" ];
3236
var MONTHS_KO = [ "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" ];
3337
var MONTHS_NL = [ "jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec" ];
38+
var MONTHS_CZ = [ "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro" ];
3439
var MONTHS_FR = [ "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre" ];
3540

3641
var PickerObjects = [];
@@ -117,6 +122,8 @@
117122
format = "YYYY/MM/DD hh:mm";
118123
}else if(locale == "ru"){
119124
format = "DD.MM.YYYY hh:mm";
125+
}else if(locale == "it"){
126+
format = "DD/MM/YYYY hh:mm";
120127
}else if (locale == "br"){
121128
format = "DD/MM/YYYY hh:mm";
122129
}else if (locale == "de"){
@@ -125,6 +132,8 @@
125132
format = "DD/MM/YYYY hh:mm";
126133
}else if (locale === "nl"){
127134
format = "DD-MM-YYYY hh:mm";
135+
}else if (locale === "cz"){
136+
format = "DD.MM.YYYY hh:mm";
128137
}else if (locale === "fr"){
129138
format = "DD-MM-YYYY hh:mm";
130139
}else{
@@ -346,6 +355,8 @@
346355
daysOfWeek = DAYS_OF_WEEK_SV;
347356
} else if (locale == "id"){
348357
daysOfWeek = DAYS_OF_WEEK_ID;
358+
} else if (locale == "it"){
359+
daysOfWeek = DAYS_OF_WEEK_IT;
349360
} else if (locale == "tr"){
350361
daysOfWeek = DAYS_OF_WEEK_TR;
351362
} else if (locale === "es"){
@@ -438,6 +449,8 @@
438449
$now_month.text(date.getFullYear() + " - " + MONTHS_SV[date.getMonth()]);
439450
} else if(locale == "id"){
440451
$now_month.text(date.getFullYear() + " - " + MONTHS_ID[date.getMonth()]);
452+
} else if(locale == "it"){
453+
$now_month.text(date.getFullYear() + " - " + MONTHS_IT[date.getMonth()]);
441454
} else if(locale == "tr"){
442455
$now_month.text(date.getFullYear() + " - " + MONTHS_TR[date.getMonth()]);
443456
} else if(locale == "es"){

simple-dtpicker.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "simple-dtpicker",
33
"title": "jquery-simple-datetimepicker",
4-
"version": "1.7.0",
4+
"version": "1.8.0",
55
"author": {
66
"name": "Masanori Ohgita",
77
"url": "https://github.com/mugifly"

0 commit comments

Comments
 (0)