Code Monkey home page Code Monkey logo

Comments (4)

hilios avatar hilios commented on August 15, 2024

If works in all browsers implementations of Date object, yes. During development I had some issues parsing the dates outside the ISO format. Your first suggestion seems to follow that convention, so it's only a matter to change the regexp to match.

Could you ensure for me that YYYY/MM/DD hh:mm:ss.sss is parsed in all browsers?

from jquery.countdown.

ShunqinChen avatar ShunqinChen commented on August 15, 2024

I think it works in all browsers.I have seen the similar use in a website.
Even if it doesn`t work on Date object, maybe u can change it by String type.

The sample website:http://sf.taobao.com/auction.htm?spm=0.0.0.0.Oic4eg&id=25775860577

My project is about online auctions like this site.So I think some developers have the same use with me which is needed to accurate the time-formate to millisecond palce.My suggestion is: maybe u can add a format option in function parameter .


Besides, how can i pause the countdown?
I try to add a action judgement before start() . when the action string match 'pause' the function return false then exit countdown().It is work when the page first load.but if i use it with a html button onclick attribute,It doesnt work.

How can i improve it?

from jquery.countdown.

hilios avatar hilios commented on August 15, 2024

Hi, just to let you know that the version 2.0.0 is out, and I included your request of stoping and resuming the countdown http://hilios.github.io/jQuery.countdown/documentation.html#controls.

About the second request I couldn't make my tests pass with your date format.

Thank you,

from jquery.countdown.

ShunqinChen avatar ShunqinChen commented on August 15, 2024

My pleasure~! Thanks for received my advice,I have use the plugin in my
project.It`s very useful~

2013/11/1 Edson Hilios [email protected]

Hi, just to let you know that the version 2.0.0 is out, and I included
your request of stoping and resuming the countdown
http://hilios.github.io/jQuery.countdown/documentation.html#controls.

About the second request I couldn't make my tests pass with your date
format.

Thank you,


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-27542449
.

Kent.C

from jquery.countdown.

Related Issues (20)

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.