GithubHelp home page GithubHelp logo

amazeui / datetimepicker Goto Github PK

View Code? Open in Web Editor NEW
140.0 20.0 108.0 143 KB

Amaze UI styled bootstrap-datetimepicker.

Home Page: http://amazeui.github.io/datetimepicker

License: Apache License 2.0

JavaScript 94.87% CSS 5.13%

datetimepicker's Issues

对时间这个插件真的无语。。。。。。

干嘛要把每个时间点都显示出来,就不能简洁点两个下拉,或者参考一下别的组件吗。。。,用了amaziui真的是糟心,换别的组件风格又不统一。。。。哎

表单使用POST不能提交

<form class="am-form" method="POST" action="/search/">           
          <span>开始时间</span>
           <input type="text" value="2015-02-14 14:45" class="form-datetime am-form-field">
            <button type="submit"  name="search">查询</button>
</form>

发现表单POST之后拿不到任何的数据。请问datetimepicker只能使用get方法?

为什么datepicker获取的时间异常

同样的电脑系统时间,datepicker按天获取的时间一个是从8:00开始,一个是从0:00开始。目前知道的唯一区别是,0点是win10,8点是win7

需要引入哪些文件

下载后,需要引入几个js,

<script src=/datetimepicker/js/amazeui.datetimepicker.min.js'></script> <script type="text/javascript" src=" /datetimepicker/js/locales/amazeui.datetimepicker.zh-CN.js" charset="UTF-8"></script>

引入这两个感觉没有效果

format设置不管用

我想设置年月日的,用了"yyyy-mm-dd",可以还是会弹出时分选项

setStartDate不准

$('.starttime').datetimepicker('setStartDate','2019-05-01');
禁用的是7月之前,而不是5月之前

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.