Skip to content

Commit 4f87dc1

Browse files
Merge branch 'dev'
2 parents 81976d7 + d31f8a2 commit 4f87dc1

11 files changed

+100
-16
lines changed

README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,28 @@ I recommend getting the eBook [Handling Time](https://sellfy.com/p/8gxZ) as it h
1919

2020
There is also a [Bower](http://bower.io/) package named `jqueryui-timepicker-addon`. Beware there are other similar package names that point to forks which may not be current.
2121

22+
Rails with Bower
23+
-----------------
24+
If you happen to use Rails with the [bower](gem "bower-rails", "~> 0.8.3") gem, here it is to use it easily :
25+
#### Bowerfile
26+
```asset "jqueryui-timepicker-addon", "1.5.4"```
27+
28+
#### application.js
29+
```javascript
30+
//= require jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon
31+
//= require jqueryui-timepicker-addon/dist/i18n/jquery-ui-timepicker-fr
32+
```
33+
34+
#### application.css.scss
35+
```scss
36+
@import "jqueryui-timepicker-addon/dist/jquery-ui-timepicker-addon.css";
37+
```
38+
2239
Contributing Code - Please Read!
2340
--------------------------------
2441
- All code contributions and bug reports are much appreciated.
2542
- Please be sure to apply your fixes to the "dev" branch.
2643
- Also note tabs are appreciated over spaces.
2744
- Please read the [CONTRIBUTING.md][contributingmd] for more on using Grunt to produce builds.
2845

29-
[contributingmd]: CONTRIBUTING.md
46+
[contributingmd]: CONTRIBUTING.md

bower.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "jqueryui-timepicker-addon",
3-
"version": "1.5.4",
3+
"version": "1.5.5",
44
"repository": {
55
"type": "git",
66
"url": "git://github.com/trentrichardson/jQuery-Timepicker-Addon.git"
77
},
8+
"main": ["dist/jquery-ui-timepicker-addon.js", "dist/jquery-ui-timepicker-addon.css"],
89
"dependencies": {
910
}
1011
}

dist/i18n/jquery-ui-timepicker-addon-i18n.js

+23-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Timepicker Addon - v1.5.4 - 2015-05-11
1+
/*! jQuery Timepicker Addon - v1.5.5 - 2015-05-24
22
* http://trentrichardson.com/examples/timepicker
33
* Copyright (c) 2015 Trent Richardson; Licensed MIT */
44

@@ -248,6 +248,28 @@
248248
isRTL: false
249249
};
250250

251+
// source: src/i18n/jquery-ui-timepicker-fa.js
252+
/* Persian translation for the jQuery Timepicker Addon */
253+
/* Written by Meysam Pour Ganji */
254+
255+
$.timepicker.regional['fa'] = {
256+
timeOnlyTitle: 'انتخاب زمان',
257+
timeText: 'زمان',
258+
hourText: 'ساعت',
259+
minuteText: 'دقیقه',
260+
secondText: 'ثانیه',
261+
millisecText: 'میلی ثانیه',
262+
microsecText: 'میکرو ثانیه',
263+
timezoneText: 'منطقه زمانی',
264+
currentText: 'الان',
265+
closeText: 'انتخاب',
266+
timeFormat: 'HH:mm',
267+
timeSuffix: '',
268+
amNames: ['قبل ظهر', 'AM', 'A'],
269+
pmNames: ['بعد ظهر', 'PM', 'P'],
270+
isRTL: true
271+
};
272+
251273
// source: src/i18n/jquery-ui-timepicker-fi.js
252274
/* Finnish translation for the jQuery Timepicker Addon */
253275
/* Written by Juga Paazmaya (http://github.com/paazmaya) */

dist/i18n/jquery-ui-timepicker-addon-i18n.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/i18n/jquery-ui-timepicker-fa.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Persian translation for the jQuery Timepicker Addon */
2+
/* Written by Meysam Pour Ganji */
3+
(function($) {
4+
$.timepicker.regional['fa'] = {
5+
timeOnlyTitle: 'انتخاب زمان',
6+
timeText: 'زمان',
7+
hourText: 'ساعت',
8+
minuteText: 'دقیقه',
9+
secondText: 'ثانیه',
10+
millisecText: 'میلی ثانیه',
11+
microsecText: 'میکرو ثانیه',
12+
timezoneText: 'منطقه زمانی',
13+
currentText: 'الان',
14+
closeText: 'انتخاب',
15+
timeFormat: 'HH:mm',
16+
timeSuffix: '',
17+
amNames: ['قبل ظهر', 'AM', 'A'],
18+
pmNames: ['بعد ظهر', 'PM', 'P'],
19+
isRTL: true
20+
};
21+
$.timepicker.setDefaults($.timepicker.regional['fa']);
22+
})(jQuery);

dist/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ <h3>Requirements</h3>
113113

114114
<br />
115115
<h3>Version</h3>
116-
<p>Version 1.5.4</p>
116+
<p>Version 1.5.5</p>
117117

118-
<p>Last updated on 2015-05-11</p>
118+
<p>Last updated on 2015-05-24</p>
119119
<p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under the MIT license.</p>
120120
<p><a href="http://trentrichardson.com/Impromptu/MIT-LICENSE.txt" title="MIT License">MIT License</a></p>
121121

dist/jquery-ui-timepicker-addon.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Timepicker Addon - v1.5.4 - 2015-05-11
1+
/*! jQuery Timepicker Addon - v1.5.5 - 2015-05-24
22
* http://trentrichardson.com/examples/timepicker
33
* Copyright (c) 2015 Trent Richardson; Licensed MIT */
44
(function (factory) {
@@ -22,7 +22,7 @@
2222
*/
2323
$.extend($.ui, {
2424
timepicker: {
25-
version: "1.5.4"
25+
version: "1.5.5"
2626
}
2727
});
2828

@@ -2240,6 +2240,6 @@
22402240
/*
22412241
* Keep up with the version
22422242
*/
2243-
$.timepicker.version = "1.5.4";
2243+
$.timepicker.version = "1.5.5";
22442244

22452245
}));

dist/jquery-ui-timepicker-addon.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery-ui-timepicker-addon.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery-ui-timepicker-addon.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "jquery-ui-timepicker-addon",
33
"title": "jQuery Timepicker Addon",
44
"description": "A timepicker addon for jQueryUI datepicker.",
5-
"version": "1.5.4",
6-
"modified": "2015-05-11",
5+
"version": "1.5.5",
6+
"modified": "2015-05-24",
77
"homepage": "http://trentrichardson.com/examples/timepicker",
88
"author": {
99
"name": "Trent Richardson",

src/i18n/jquery-ui-timepicker-fa.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Persian translation for the jQuery Timepicker Addon */
2+
/* Written by Meysam Pour Ganji */
3+
(function($) {
4+
$.timepicker.regional['fa'] = {
5+
timeOnlyTitle: 'انتخاب زمان',
6+
timeText: 'زمان',
7+
hourText: 'ساعت',
8+
minuteText: 'دقیقه',
9+
secondText: 'ثانیه',
10+
millisecText: 'میلی ثانیه',
11+
microsecText: 'میکرو ثانیه',
12+
timezoneText: 'منطقه زمانی',
13+
currentText: 'الان',
14+
closeText: 'انتخاب',
15+
timeFormat: 'HH:mm',
16+
timeSuffix: '',
17+
amNames: ['قبل ظهر', 'AM', 'A'],
18+
pmNames: ['بعد ظهر', 'PM', 'P'],
19+
isRTL: true
20+
};
21+
$.timepicker.setDefaults($.timepicker.regional['fa']);
22+
})(jQuery);

0 commit comments

Comments
 (0)