https://github.com/hancoson/mobile-calendar
:calendar:A mobile calender plugin.(jQuery手机移动端日历日期选择)
https://github.com/hancoson/mobile-calendar
javascript
Last synced: 10 months ago
JSON representation
:calendar:A mobile calender plugin.(jQuery手机移动端日历日期选择)
- Host: GitHub
- URL: https://github.com/hancoson/mobile-calendar
- Owner: Hancoson
- License: mit
- Created: 2014-12-09T03:35:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T10:05:14.000Z (about 8 years ago)
- Last Synced: 2025-04-18T05:55:56.965Z (about 1 year ago)
- Topics: javascript
- Language: JavaScript
- Homepage: http://hancoson.github.io/mobile-calendar/test/index.html
- Size: 107 KB
- Stars: 29
- Watchers: 5
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mobile calender
[](https://github.com/Hancoson/mobile-calendar/stargazers)
[](https://www.npmjs.com/package/jq-mobile-calendar)
[](https://github.com/Hancoson/mobile-calendar/issues)
[](https://github.com/Hancoson/mobile-calendar/blob/master/LICENSE)
[](https://www.npmjs.com/package/jq-mobile-calendar)
> A mobile calender plugin.
> [DEMO>>](http://hancoson.github.io/mobile-calendar/test/index.html)

> _Be dependent on `jQuery(Zepto)` and `Iscroll` library._
## API
### How to use
Download `mobile-calendar` folder and include it in your HTML document :
```js
```
```js
$(document).date();
//or
$(document).date({
theme:"date",
fromat: 'yyyy/mm/dd'
});
```
Of course, in your HTML you should add `
`. Or you can refer to my demo: `./test/index.html`
### Parameters
- `theme`:default `data` , only show date;`datetime` show date and time.
- `fromat`:Style . default `yyyy/mm/dd` and `yyyy/mm/dd hh:ii`. Example:
- `yyyy-mm-dd` and `yyyy-mm-dd hh:ii`
- `yyyy年mm月dd日` and `yyyy年mm月dd日 hh时ii分`
## Authors
[Hancoson](https://github.com/Hancoson)
[MIT](https://github.com/Hancoson/mobile-calendar/blob/master/LICENSE)