Comments (6)
Hello, I have tried the calendar on Safari, and the events are showed. I have Safari version 5.1.7.
from bootstrap-calendar.
On my Safari and my collegues safari it won`t work.
Ive tried a local copy but no sigar. I
m using a fresh installation of Safari 5.1.7. The debugger doesn`t show any errors.
If you need more info please do tell!
http://i48.tinypic.com/r8h4y9.png
from bootstrap-calendar.
I did some more digging, and it seems like Safari doesn`t like the date format that is presented (http://www.bondigeek.com/blog/2011/01/18/handling-ddmmyyyy-date-strings-across-all-browsers/).
Safari returns a NaN for the following functions:
event_date.getMonth()
event_date.getDate()
Safari expects the date to be in the mm/dd/yyyy format, but is presented with a dd/mm/yyyy format.
http://www.bondigeek.com/blog/wp-content/uploads/2011/01/image_thumb3.png
from bootstrap-calendar.
Alright, final solution :).
You must change the dateformat in the event array supplied on the demo page.
If you change it from:
{"date":"2012-12-12","title":"10"}
to:
{"date":"06/20/2012","title":"10"}
It will work.
I`ll put in a pull request for the fix
from bootstrap-calendar.
I am using a download of the calendar (Feb 2013 version) and I've run into the problem not showing events in Safari. Is this issue resolved or do I need to modify date formats myself?
from bootstrap-calendar.
The problem was fixed in the example back then.
I haven`t used this library since then.
You could check if the event dates look like the above solution example?
If that doens`t work i suggest you open a new ticket with your problem description.
from bootstrap-calendar.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-calendar.