diff --git a/.gitignore b/.gitignore index 0012f7d..25f496e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -index.php \ No newline at end of file +$ cat .gitignore +parse.php \ No newline at end of file diff --git a/datetimepicker.jquery.json b/datetimepicker.jquery.json index 819747a..9cdff03 100644 --- a/datetimepicker.jquery.json +++ b/datetimepicker.jquery.json @@ -1,47 +1,47 @@ -{ - "name": "datetimepicker", - "version": "2.4.0", - "title": "jQuery Date and Time picker", - "description": "jQuery plugin for date, time, or datetime manipulation in form", - "keywords": [ - "calendar", - "date", - "time", - "form", - "datetime", - "datepicker", - "timepicker", - "datetimepicker", - "validation", - "ui", - "scroller", - "picker", - "i18n", - "input", - "jquery", - "touch" - ], - "author": { - "name": "Chupurnov Valeriy", - "email": "chupurnov@gmail.com", - "url": "http://xdsoft.net/contacts.html" - }, - "maintainers": [{ - "name": "Chupurnov Valeriy", - "email": "chupurnov@gmail.com", - "url": "http://xdsoft.net" - }], - "licenses": [ - { - "type": "MIT", - "url": "https://github.com/xdan/datetimepicker/blob/master/MIT-LICENSE.txt" - } - ], - "bugs": "https://github.com/xdan/datetimepicker/issues", - "homepage": "http://xdsoft.net/jqplugins/datetimepicker/", - "docs": "http://xdsoft.net/jqplugins/datetimepicker/", - "download": "https://github.com/xdan/datetimepicker/archive/master.zip", - "dependencies": { - "jquery": ">=1.7" - } +{ + "name": "datetimepicker", + "version": "2.4.1", + "title": "jQuery Date and Time picker", + "description": "jQuery plugin for date, time, or datetime manipulation in form", + "keywords": [ + "calendar", + "date", + "time", + "form", + "datetime", + "datepicker", + "timepicker", + "datetimepicker", + "validation", + "ui", + "scroller", + "picker", + "i18n", + "input", + "jquery", + "touch" + ], + "author": { + "name": "Chupurnov Valeriy", + "email": "chupurnov@gmail.com", + "url": "http://xdsoft.net/contacts.html" + }, + "maintainers": [{ + "name": "Chupurnov Valeriy", + "email": "chupurnov@gmail.com", + "url": "http://xdsoft.net" + }], + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/xdan/datetimepicker/blob/master/MIT-LICENSE.txt" + } + ], + "bugs": "https://github.com/xdan/datetimepicker/issues", + "homepage": "http://xdsoft.net/jqplugins/datetimepicker/", + "docs": "http://xdsoft.net/jqplugins/datetimepicker/", + "download": "https://github.com/xdan/datetimepicker/archive/master.zip", + "dependencies": { + "jquery": ">=1.7" + } } \ No newline at end of file diff --git a/jquery.datetimepicker.js b/jquery.datetimepicker.js index 6eaab16..b0d3de1 100644 --- a/jquery.datetimepicker.js +++ b/jquery.datetimepicker.js @@ -410,10 +410,10 @@ }, he: { //Hebrew (עברית) months: [ - 'ינואר','פברואר','מרץ','אפריל','מאי','יוני', 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר' + 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' ], dayOfWeek: [ - 'א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת' + 'א\'', 'ב\'', 'ג\'', 'ד\'', 'ה\'', 'ו\'', 'שבת' ] } }, @@ -1672,7 +1672,11 @@ event.stopPropagation(); }) .on('toggle.xdsoft', function (event) { - datetimepicker.is(':visible') ? datetimepicker.trigger('close.xdsoft') : datetimepicker.trigger('open.xdsoft'); + if (datetimepicker.is(':visible')) { + datetimepicker.trigger('close.xdsoft'); + } else { + datetimepicker.trigger('open.xdsoft'); + } }) .data('input', input); diff --git a/npm-debug.log b/npm-debug.log deleted file mode 100644 index 614c967..0000000 --- a/npm-debug.log +++ /dev/null @@ -1,39 +0,0 @@ -0 info it worked if it ends with ok -1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe', -1 verbose cli 'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', -1 verbose cli 'publish' ] -2 info using npm@1.3.21 -3 info using node@v0.10.24 -4 verbose publish [ '.' ] -5 verbose cache add [ '.', null ] -6 verbose cache add name=undefined spec="." args=[".",null] -7 verbose parsed url { protocol: null, -7 verbose parsed url slashes: null, -7 verbose parsed url auth: null, -7 verbose parsed url host: null, -7 verbose parsed url port: null, -7 verbose parsed url hostname: null, -7 verbose parsed url hash: null, -7 verbose parsed url search: null, -7 verbose parsed url query: null, -7 verbose parsed url pathname: '.', -7 verbose parsed url path: '.', -7 verbose parsed url href: '.' } -8 silly lockFile 3a52ce78- . -9 verbose lock . C:\Users\valera\AppData\Roaming\npm-cache\3a52ce78-.lock -10 silly lockFile 3a52ce78- . -11 silly lockFile 3a52ce78- . -12 error addLocal Could not install . -13 error Error: ENOENT, open 'C:\WebServers\home\analize\datetimepicker\package.json' -14 error If you need help, you may report this *entire* log, -14 error including the npm and node versions, at: -14 error -15 error System Windows_NT 6.1.7601 -16 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "publish" -17 error cwd C:\WebServers\home\analize\datetimepicker -18 error node -v v0.10.24 -19 error npm -v 1.3.21 -20 error path C:\WebServers\home\analize\datetimepicker\package.json -21 error code ENOENT -22 error errno 34 -23 verbose exit [ 34, true ] diff --git a/package.js b/package.js deleted file mode 100644 index ee04df1..0000000 --- a/package.js +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "datetimepicker", - "version": "2.4.0", - "title": "jQuery Date and Time picker", - "description": "jQuery plugin for date, time, or datetime manipulation in form", - "keywords": [ - "jquery-plugin", - "calendar", - "date", - "time", - "form", - "datetime", - "datepicker", - "timepicker", - "datetimepicker", - "validation", - "ui", - "scroller", - "picker", - "i18n", - "input", - "jquery", - "touch" - ], - "author": { - "name": "Chupurnov Valeriy", - "email": "chupurnov@gmail.com", - "url": "http://xdsoft.net/contacts.html" - }, - "repository": { - "type": "git", - "url": "https://github.com/xdan/datetimepicker.git" - }, - "bugs": { - "url": "https://github.com/xdan/datetimepicker/issues", - "email" : "chupurnov@gmail.com" - }, - "homepage":"http://xdsoft.net/jqplugins/datetimepicker/", - "dependencies": {}, - "license": "MIT" -} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..52c4c69 --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "jquery-datetimepicker", + "version": "2.4.0", + "description": "jQuery Plugin DateTimePicker it is DatePicker and TimePicker in one", + "main": "jquery.datetimepicker.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/xdan/datetimepicker.git" + }, + "keywords": [ + "jquery-plugin", + "calendar", + "date", + "time", + "datetime", + "datepicker", + "timepicker" + ], + "author": "Chupurnov (http://xdsoft.net/)", + "license": "MIT", + "bugs": { + "url": "https://github.com/xdan/datetimepicker/issues" + }, + "homepage": "https://github.com/xdan/datetimepicker" +}