# Project : bootstrap-datetimepicker
======================================
[![Build Status](https://travis-ci.org/smalot/bootstrap-datetimepicker.png?branch=master)](https://travis-ci.org/smalot/bootstrap-datetimepicker)
[Homepage](http://www.malot.fr/bootstrap-datetimepicker/)
[Demo page](http://www.malot.fr/bootstrap-datetimepicker/demo.php)
# Project forked
This project is a fork of [bootstrap-datepicker project](https://github.com/eternicode/bootstrap-datepicker).
# Home
As 'bootstrap-datetimepicker' is restricted to the date scope (day, month, year), this project aims to support too the time picking (hour, minutes).
# Screenshots
## Decade year view
![Datetimepicker decade year view](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_decade.png)
This view allows to select the day in the selected month.
## Year view
![Datetimepicker year view](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_year.png)
This view allows to select the month in the selected year.
## Month view
![Datetimepicker month view](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_month.png)
This view allows to select the year in a range of 10 years.
## Day view
![Datetimepicker day view](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_day.png)
This view allows to select the hour in the selected day.
## Hour view
![Datetimepicker hour view](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_hour.png)
This view allows to select the preset of minutes in the selected hour.
The range of 5 minutes (by default) has been selected to restrict buttons quantity to an acceptable value, but it can be overrided by the <code>minuteStep</code> property.
## Day view - meridian
![Datetimepicker day view meridian](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_day_meridian.png)
Meridian is supported in both the day and hour views.
To use it, just enable the <code>showMeridian</code> property.
## Hour view - meridian
![Datetimepicker hour view meridian](https://raw.github.com/smalot/bootstrap-datetimepicker/master/screenshot/standard_hour_meridian.png)
# Example
Attached to a field with the format specified via options:
```html
<input type="text" value="2012-05-15 21:05" id="datetimepicker">
```
```javascript
$('#datetimepicker').datetimepicker({
format: 'yyyy-mm-dd hh:ii'
});
```
Attached to a field with the format specified via markup:
```html
<input type="text" value="2012-05-15 21:05" id="datetimepicker" data-date-format="yyyy-mm-dd hh:ii">
```
```javascript
$('#datetimepicker').datetimepicker();
```
As component:
```html
<div class="input-append date" id="datetimepicker" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
<input size="16" type="text" value="12-02-2012" readonly>
<span class="add-on"><i class="icon-th"></i></span>
</div>
```
```javascript
$('#datetimepicker').datetimepicker();
```
As inline datetimepicker:
```html
<div id="datetimepicker"></div>
```
```javascript
$('#datetimepicker').datetimepicker();
```
# Using bootstrap-datetimepicker.js
Call the datetimepicker via javascript:
```javascript
$('.datetimepicker').datetimepicker()
```
## Dependencies
Requires bootstrap's dropdown component (`dropdowns.less`) for some styles, and bootstrap's sprites (`sprites.less` and associated images) for arrows.
A standalone .css file (including necessary dropdown styles and alternative, text-based arrows) can be generated by running `build/build_standalone.less` through the `lessc` compiler:
```bash
$ lessc build/build_standalone.less datetimepicker.css
```
## Options
All options that take a "Date" can handle a `Date` object; a String formatted according to the given `format`; or a timedelta relative to today, eg '-1d', '+6m +1y', etc, where valid units are 'd' (day), 'w' (week), 'm' (month), and 'y' (year).
You can also specify an ISO-8601 valid datetime, despite of the given `format` :
* yyyy-mm-dd
* yyyy-mm-dd hh:ii
* yyyy-mm-ddThh:ii
* yyyy-mm-dd hh:ii:ss
* yyyy-mm-ddThh:ii:ssZ
### format
String. Default: 'mm/dd/yyyy'
The date format, combination of p, P, h, hh, i, ii, s, ss, d, dd, m, mm, M, MM, yy, yyyy.
* p : meridian in lower case ('am' or 'pm') - according to locale file
* P : meridian in upper case ('AM' or 'PM') - according to locale file
* s : seconds without leading zeros
* ss : seconds, 2 digits with leading zeros
* i : minutes without leading zeros
* ii : minutes, 2 digits with leading zeros
* h : hour without leading zeros - 24-hour format
* hh : hour, 2 digits with leading zeros - 24-hour format
* H : hour without leading zeros - 12-hour format
* HH : hour, 2 digits with leading zeros - 12-hour format
* d : day of the month without leading zeros
* dd : day of the month, 2 digits with leading zeros
* m : numeric representation of month without leading zeros
* mm : numeric representation of the month, 2 digits with leading zeros
* M : short textual representation of a month, three letters
* MM : full textual representation of a month, such as January or March
* yy : two digit representation of a year
* yyyy : full numeric representation of a year, 4 digits
### weekStart
Integer. Default: 0
Day of the week start. 0 (Sunday) to 6 (Saturday)
### startDate
Date. Default: Beginning of time
The earliest date that may be selected; all earlier dates will be disabled.
### endDate
Date. Default: End of time
The latest date that may be selected; all later dates will be disabled.
### daysOfWeekDisabled
String, Array. Default: '', []
Days of the week that should be disabled. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated. Example: disable weekends: `'0,6'` or `[0,6]`.
### autoclose
Boolean. Default: false
Whether or not to close the datetimepicker immediately when a date is selected.
### startView
Number, String. Default: 2, 'month'
The view that the datetimepicker should show when it is opened.
Accepts values of :
* 0 or 'hour' for the hour view
* 1 or 'day' for the day view
* 2 or 'month' for month view (the default)
* 3 or 'year' for the 12-month overview
* 4 or 'decade' for the 10-year overview. Useful for date-of-birth datetimepickers.
### minView
Number, String. Default: 0, 'hour'
The lowest view that the datetimepicker should show.
### maxView
Number, String. Default: 4, 'decade'
The highest view that the datetimepicker should show.
### todayBtn
Boolean, "linked". Default: false
If true or "linked", displays a "Today" button at the bottom of the datetimepicker to select the current date. If true, the "Today" button will only move the current date into view; if "linked", the current date will also be selected.
### todayHighlight
Boolean. Default: false
If true, highlights the current date.
### keyboardNavigation
Boolean. Default: true
Whether or not to allow date navigation by arrow keys.
### language
String. Default: 'en'
The two-letter code of the language to use for month and day names. These will also be used as the input's value (and subsequently sent to the server in the case of form submissions). Currently ships with English ('en'), German ('de'), Brazilian ('br'), and Spanish ('es') translations, but others can be added (see I18N below). If an unknown language code is given, English will be used.
### forceParse
Boolean. Default: true
Whether or not to force parsing of the input value when the picker is closed. That is, when an invalid date is left in the input field by the user, the picker will forcibly parse that value, and set the input's value to the new, valid date, conforming to the given `format`.
### minuteStep
Number. Default: 5
The increment used to build the hour view. A button is created for each <code>minuteStep</code> minutes.
### pickerReferer : deprecated
String. Default: 'd
没有合适的资源?快使用搜索试试~ 我知道了~
火麒麟打赏系统源码 多级防封多支付接口切换带包天月多套模板
共3568个文件
php:929个
png:497个
js:462个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 2 下载量 35 浏览量
2022-07-14
15:51:49
上传
评论 2
收藏 207.83MB ZIP 举报
温馨提示
新系统特性: 1、功能、限制设定全部在后台搞定,完全不用改代码,就是不懂技术的人都能用; 2、超级防封,内置防封接口,以及域名自动切换; 3、系统自带域名检测功能,检测域名是否被封,自动跳过已红域名; 4、系统自带包天、包月、,不用改代码,直接后台设置; 5、可设定已打赏用户视频观看有效期; 6、系统自带市面上常用的支付接口,一键配置,也可以增加新接口; 7、自带19套盒子模板,19套推广模板,一改以往死板的页面; 8、自带会员注册功能,用户可直接打赏,也可以选择包天、包月; 9、台主可设置每个视频打赏的金额限制范围,保证台子利润; 10、代理可设置每个视频打赏金额范围,一改价格固定不变的局面; 11、一键生成总推广链接,每次生成链接都不一样,防止短链被墙; 12、采用伪文件+参数加密等方式保护系统文件安全不被篡改。
资源推荐
资源详情
资源评论
收起资源包目录
火麒麟打赏系统源码 多级防封多支付接口切换带包天月多套模板 (3568个子文件)
183.224.183.10 1B
66.249.79.100 1B
183.92.249.102 1B
113.132.140.104 1B
101.91.60.104 1B
43.250.201.104 1B
117.136.66.105 1B
124.160.212.105 1B
117.136.31.105 1B
120.33.150.106 1B
171.40.103.106 1B
101.91.60.106 1B
101.91.60.107 1B
223.104.45.108 1B
101.91.60.109 1B
36.19.52.11 1B
101.91.60.11 1B
223.152.204.111 1B
106.226.139.112 1B
110.247.207.112 1B
66.249.79.114 1B
106.61.47.115 1B
36.113.12.116 1B
42.236.10.117 1B
112.113.158.118 1B
42.93.152.120 1B
101.89.239.120 1B
110.181.2.124 1B
114.139.56.127 1B
113.122.233.127 1B
117.136.38.128 1B
114.135.243.129 1B
183.92.250.129 1B
120.204.162.129 1B
218.26.55.13 1B
117.169.94.13 1B
14.104.109.13 1B
39.186.53.133 1B
220.200.57.133 1B
59.57.192.134 1B
183.227.129.136 1B
157.255.14.14 1B
61.141.73.140 1B
66.249.66.140 1B
66.249.71.141 1B
59.59.41.143 1B
66.249.69.144 1B
36.110.199.144 1B
61.129.6.145 1B
116.16.234.146 1B
59.110.163.147 1B
223.104.111.147 1B
39.191.231.147 1B
101.89.19.149 1B
182.138.173.15 1B
36.102.20.15 1B
223.166.231.150 1B
61.129.6.151 1B
175.5.101.152 1B
219.133.179.152 1B
66.249.71.152 1B
117.136.81.153 1B
223.104.36.154 1B
111.35.62.154 1B
66.249.79.154 1B
66.249.79.155 1B
101.227.139.161 1B
101.227.139.164 1B
61.151.178.164 1B
111.14.95.164 1B
120.229.0.165 1B
61.151.178.165 1B
116.25.43.166 1B
222.220.164.168 1B
120.239.208.169 1B
112.17.237.169 1B
121.206.71.17 1B
111.225.79.172 1B
117.136.31.173 1B
61.129.6.174 1B
61.151.178.174 1B
223.104.48.175 1B
61.151.178.177 1B
112.97.219.178 1B
171.10.74.178 1B
61.129.8.179 1B
58.251.121.184 1B
58.20.175.184 1B
183.42.12.186 1B
39.130.0.189 1B
66.249.71.19 1B
223.166.151.191 1B
223.198.59.193 1B
223.104.91.193 1B
58.213.211.194 1B
113.103.89.195 1B
61.151.178.197 1B
113.242.16.197 1B
101.89.19.197 1B
223.104.215.199 1B
共 3568 条
- 1
- 2
- 3
- 4
- 5
- 6
- 36
资源评论
- m0_750400092023-01-20支持这个资源,内容详细,主要是能解决当下的问题,感谢大佬分享~
- fxkj20212023-02-07感谢大佬分享的资源给了我灵感,果断支持!感谢分享~
智慧浩海
- 粉丝: 1w+
- 资源: 5113
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 学生成绩管理系统-C++版本
- 吉林大学离散数学2笔记.pdf
- 通道处理过程的模拟通常涉及对通道处理机制的理解与实现.txt
- Flume进阶-自定义拦截器jar包
- Dubins曲线算法讲解和在运动规划中的使用.pdf
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.dta
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.xlsx
- Reeds+Shepp曲线算法讲解和实现.pdf
- 毕业设计基于SpringBoot+MyBatisPlus+MySQL+Vue的外卖配送信息系统源代码+数据库
- 词向量(Word Embeddings)是自然语言处理(NLP)领域的一种重要技术.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功