Skip to content

Commit

Permalink
Italiano Locale and TouchHold Increment/Decrement
Browse files Browse the repository at this point in the history
* Added Italiano Locale files.

* Added functionality to increment or decrement values of dates by
holding Increment or Decrement buttons. This will make DateTimePicker
more useful on mobile devices.
Example -
[Mobile-TouchHold.htm](https://github.com/CuriousSolutions/DateTimePicker/tree/master/demo/Mobile-TouchHold.htm)
  • Loading branch information
nehakadam committed Jul 2, 2016
1 parent 1c48286 commit d5327f6
Show file tree
Hide file tree
Showing 44 changed files with 737 additions and 209 deletions.
2 changes: 1 addition & 1 deletion DateTimePicker.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

"docs": "http://curioussolutions.github.io/DateTimePicker/",

"version": "0.1.29",
"version": "0.1.30",

"licenses": [
{
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"input"
],

"version": "0.1.29",
"version": "0.1.30",

"homepage": "http://curioussolutions.github.io/DateTimePicker/",

Expand Down
74 changes: 74 additions & 0 deletions demo/Mobile-TouchHold.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<!DOCTYPE html>

<html>

<head>

<title>TouchHold Gesture Example</title>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" type="text/css" href="../src/DateTimePicker.css" />

<script type="text/javascript" src="jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="../src/DateTimePicker.js"></script>

<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="../src/DateTimePicker-ltie9.css" />
<script type="text/javascript" src="../src/DateTimePicker-ltie9.js"></script>
<![endif]-->

<style type="text/css">

p
{
margin-left: 20px;
}

input
{
width: 200px;
padding: 10px;
margin-left: 20px;
margin-bottom: 20px;
}

</style>

</head>

<body>

<p>Date : </p>
<input type="text" data-field="date" readonly>

<p>Time : </p>
<input type="text" data-field="time" readonly>

<p>DateTime : </p>
<input type="text" data-field="datetime" readonly>



<div id="dtBox"></div>



<script type="text/javascript">

$(document).ready(function()
{
$("#dtBox").DateTimePicker({

captureTouchHold: true,

touchHoldInterval: 300

});
});

</script>

</body>

</html>
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.29
Version 0.1.30
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.29
Version 0.1.30
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.29
Version 0.1.30
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker-ltie9.min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.29
Version 0.1.30
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
2 changes: 1 addition & 1 deletion dist/DateTimePicker.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
jQuery DateTimePicker - Responsive flat design jQuery DateTime Picker plugin for Web & Mobile
Version 0.1.29
Version 0.1.30
Copyright (c)2016 Curious Solutions LLP and Neha Kadam
http://curioussolutions.github.io/DateTimePicker
https://github.com/CuriousSolutions/DateTimePicker
Expand Down
Loading

0 comments on commit d5327f6

Please sign in to comment.