Giter Site home page Giter Site logo

Comments (8)

chukwu avatar chukwu commented on July 19, 2024

Just like every coder, you must be very busy doing your own thing at work which somehow serves a better 'purpose'. I recommend you create a quiet weekend to fix the few setbacks on your plugin.Stabilize it. It is obviously attracting a lot of intention which is a good. thanks mate.

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

I'm not sure why you closed this, I haven't had time to deal with this (since I've had much more important things to deal with in the past week), and I could not easily reproduce this.

Is this no longer a problem somehow? If it's still a problem, no reason to close it.

from timecircles.

chukwu avatar chukwu commented on July 19, 2024

Well, I closed it because it was quite a logical issue that erupts on intervals. Sometimes, it works as expected. Other times it acts crazy. I generate my data-date attribute dynamically using c#. I think the problem is AM/PM time format. It would be better if the time format is 24hours rather than the the 12hours AM/PM e.g 13:00:00. With C#, i had to change the culture info to yyyy-MM-dd HH:mm:ss rather than the yyyy-mm-dd hh:mm:ss cultureinfo. This change did not work two days ago but worked today. I dont get it. Thats why i closed it. It could be a logical bug or not.

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

If you could provide example HTML/JavaScript that has this problem, that will help a lot. Note though, the recommended datetime format is 24h based (not am/pm)

from timecircles.

chukwu avatar chukwu commented on July 19, 2024

The example is very basic but the data-date html attribute is dynamically generated from the server and rendered using ajax load. The rendered result is plain html. e.g

The above code produced an incorrect result of 12hours which made me assume the plugin was reading my datetime as a AM time. when i inspected the DOM in chrome. The datetime rendered server side was 2014-01-12 04:33:39. It worked yesterday after changing my datetime format server-side to:

Your documentation stated datetime to be yyyy-mm-dd hh:mm:ss meanwhile what worked for me was yyyy-MM-dd HH:mm:ss. The examples on your documentation for dynamic time uses AM/PM input type. I suppose it raises confusion. I believe this may not be a BUG but an unclear documentation.

$('.deadline_tick').not('.escape_mepls').each(function () {
$(this).show(1000, function () {
$(this).TimeCircles().addClass('escape_mepls');
});
});

from timecircles.

chukwu avatar chukwu commented on July 19, 2024

I'm having problem attaching html code on github. NO EDITOR?

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

The "reason" the example has an AM/PM input, is because it's a default HTML5 time input field. It's not by choice or something alike.

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

I think this is no longer an issue and was actually only an issue with input, correct? I have changed the demo page to avoid this misunderstanding (as well as making that page much more awesome). If this is still a problem, please let me know.

from timecircles.

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.