分享好友 最新动态首页 最新动态分类 切换频道
多城市站群源码单页版安装包,自动生成,内置3000+城市信息.zip
2024-12-26 14:57
# Project : bootstrap-datetimepicker

多城市站群源码单页版安装包,自动生成,内置3000+城市信息.zip

====================================== [![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
最新文章
360安全浏览器for iPhone的隐私保护说明
360安全浏览器for iPhone为用户提供的服务价值360安全浏览器for iPhone (以下也称“本软件”)是基于IOS系统开发的一款手机浏览器软件,为用户提供安全快捷的上网服务。包含基础功能、网址导航、推荐应用、页面优化、社交分享、扩展功能等
2024年必玩!精选耐玩枪战僵尸手游推荐,热门射击打僵尸游戏大盘点
本文目录导读:《全民僵尸大战》《末日进化》《幸存者危城》《明日之后》《末日进化-丧尸危机》《末日来袭》《僵尸风暴》《末日方舟》《僵尸猎手小明》《勇闯死人谷2》《死亡扳机2完美版》《僵尸世界大战UC特别版》《阿瑞斯病毒2》在2024年
2024-2029年全球及中国顶管机(全断面隧道掘进机)行业发展前景与投资战略规划分析报告
权威数据来源一手调研资料调研方法直接观察法(实地走访、网络观察)访谈调查法(个别面访、集体面访、电话访谈、视频访谈、小组座谈)问券调查法(在线问券、电子邮件问券、入户分发等)会议调查法(参加博览会、展览会、高峰论坛、研修会
GoldenMaster设计_今日Golden设计教程
摘要:GoldenMaster设计,今日Golden设计教程,新片场素材小编郝怡可GoldenMaster设计,今日Golden设计教程相关内容整理,如果您对GoldenMaster设计,今日Golden设计教程感兴趣欢迎访问免费阅读。GoldenMaster设计,今日Golden设计教程一、Gold
342期[辉煌小哥]排列五单双精准预测
342期辉煌小哥排列五单双精准预测:双双单单单,单单单双单,单双单双双,单单双单双,单双双单单341期辉煌小哥排列五单双精准预测:单双双单双,单单单双单,双双单单双,双单单单双,双单单双单奖:65343(双单单双单)340期辉煌小哥排列五单双精准预
2025上海国际儿童食品展览会:营养食品展览会
202:5年第24届上海CBME婴童展同期举办:CBME玩具展 、CBME童装展、CBME婴童食品展、全球授权展(上海站LEC)时间:2025年7月16-18日地址:国家会展中心(上海)展会规模:30万平米3500家展商 观众10万起主办机构:亿百媒会展(上海)有限公司
B站大全:真的存在永不收费的免费下载软件吗!
B站大全:探讨免费下载软件的收费真相当我们面对浩如烟海的网络资源时,尤其是那些令人心动的免费下载软件,一个常见的问题浮现在我们的脑海中:“真的存在永不收费的免费下载软件吗?”这个问题既反映了用户对资源的渴望,也揭示了网络环
2025首页:前滩公馆百度百科|官方图文解析!售楼处最新动态!
最新消息占位前滩CLD 再现衡复风貌区优雅生活前滩公馆售楼处电话:400-8228-664【预约☎】 加推92套建面约87-137㎡6-7层低密洋房!电话:400-8228-664【预约☎】√√案场预约制 看房需提前来电预约登记请务必致电与销售确认时间,仅预约客
3D6月周一邻号走势图近50期带连线
功能类福彩3D显示遗漏:显示/隐藏遗漏值,遗漏值是指自上期开出到本期间隔的期数。福彩3D遗漏分层:是将当前遗漏值用柱状图形标注。福彩3D分段线:是每五期使用分隔线,使横向导航更加清晰。福彩3D显示断区:在分区走势中使用,将开出0个号
2024年国家税务总局广西壮族自治区税务局国考面试名单_国家税务总局柳州市柳北区税务局一级行政执法员(五)职位国考成绩排名_最低进面分数_面试形式/时间信息汇总
  2024年国家税务总局广西壮族自治区税务局国考面试名单_国家税务总局柳州市柳北区税务局一级行政执法员(五)职位国考成绩排名_最低进面分数_面试形式/时间信息汇总由国家公务员考试网国家公务员栏目由提供,更多关于国家税务总局广西壮
相关文章
推荐文章
发表评论
0评