GithubHelp home page GithubHelp logo

rchavik / bootstrap-datepicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uxsolutions/bootstrap-datepicker

2.0 2.0 3.0 2.65 MB

A datepicker for @twitter bootstrap forked from Stefan Petre's (of eyecon.ro), improvements by @eternicode

License: Apache License 2.0

JavaScript 73.02% CSS 26.28% HTML 0.71%

bootstrap-datepicker's People

Contributors

acrobat avatar adam-lynch avatar anvoz avatar cdeszaq avatar demonixz avatar dionysiosarvanitis avatar edgardmessias avatar eternicode avatar fadomire avatar fdaugan avatar gdw2 avatar grudolf avatar hebbet avatar janv8000 avatar jogaco avatar juanmcasanova avatar lakenen avatar levani avatar michaek avatar michaeljb avatar mostafar avatar n0nick avatar ragulka avatar t3chn0r avatar tcrosen avatar vanack avatar vitalets avatar vsn4ik avatar willrjmarshall avatar wrozka avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bootstrap-datepicker's Issues

UTC time parsing bug

From: uxsolutions#909

First off , this is by far the most simple and easy to use time picker! Great job...
I think I have found a bug in this fork regarding UTC time parsing but I'm not sure how to fix it yet.

The bug goes like this.

I'm in gmt+2 time zone and I set the date time picker with a date string like this:

$('#end-date').datepicker('update', '27/12/2014 23:59');

When I open the datepicker and I try to select a day back (the 26th) I can't because of the following line:

this._setDate(UTCDate(year, month, day, h, m, s));

year = 2014 , month = 11, day = 26 , h = 23 , m = 59 , s = 0
UTCDate(year, month, day, h, m, s) = Fri Dec 27 2013 01:59:00 GMT+020

the result is that nothing changes...

I tried playing with the date changing the timezone offset and what not without luck.

Any ideas?

Not to forget.

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.