Giter Site home page Giter Site logo

Comments (10)

jwgmeligmeyling avatar jwgmeligmeyling commented on July 23, 2024

Not reproducible in Safari version 7.0.1 (9537.73.11) / OS X 10.9.1, please clarify your issue and the ticket might be reopened

from jqm-calendar.

rsdickerson avatar rsdickerson commented on July 23, 2024

I'm experiencing this issue. When I view the calendar on a Windows desktop browser (Opera or Chrome) I see the events. When I view the calendar on Macbook Pro Chrome I see the events, but not viewing calendar with Safari. See the same issue when viewing calendar on iPhone using Safari (haven't tested yet with Chrome on iPhone, but expect it will work).

Since you are not able to reproduce, this issue must be caused by something I'm doing. I'll keep working on finding a resolution locally, but sure would appreciate any suggestions on what to look for.

from jqm-calendar.

jwgmeligmeyling avatar jwgmeligmeyling commented on July 23, 2024

If we have a plunkr or jsfiddle we can test it on different browsers.

from jqm-calendar.

rsdickerson avatar rsdickerson commented on July 23, 2024

I'll send plunkr link later today. Work firewall is blocking saving it. Thanks.

from jqm-calendar.

rsdickerson avatar rsdickerson commented on July 23, 2024

OK, here's a plunker that for me works fine on Opera and Chrome, but on Safari the events do not appear. I'm using desktop browsers to test this, but am seeing the same issue on iPhone Safari.

http://plnkr.co/edit/47ZXOaX2ZOkndNd1q27f?p=preview

My first time using Plunker, so let me know if I need to do something different.

from jqm-calendar.

jwgmeligmeyling avatar jwgmeligmeyling commented on July 23, 2024

Confirmed.

from jqm-calendar.

rsdickerson avatar rsdickerson commented on July 23, 2024

The problem turns out to be how I was creating the begin and end dates (e.g. new Date("2015-06-16 07:00")) in the events. This SO question (http://stackoverflow.com/questions/6427204/date-parsing-in-javascript-is-different-between-safari-and-chrome) led me to the solution.

I changed to new Date(year,month,day,hour,minute) and now it works fine in Safari, too.

from jqm-calendar.

rsdickerson avatar rsdickerson commented on July 23, 2024

You might want to change the demo code to use this constructor instead of the new Date(String date) just so others who follow the demo will not run into this same problem.

Thanks. Awesome product by the way. Really appreciate your efforts.

from jqm-calendar.

jwgmeligmeyling avatar jwgmeligmeyling commented on July 23, 2024

Yes we should update the example. Luckily this isn't a bug in the calendar 😄 Thanks for your effort to sort this out!

from jqm-calendar.

luigi37 avatar luigi37 commented on July 23, 2024

Updated demo example according to rsdickerson comment

from jqm-calendar.

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.