evo-calendar
evo-calendar copied to clipboard
Not working like expected in Safari.
Check in safari Mac os.
Hello @perichiappan :smile:
Thank you for providing screenshot. Sorry for this, as I'm struggling to constantly check it in iOS. But I'm trying to work on this to be able to use in apple devices.
I will write back once this is solved. Thank you again! :hugs:
Hi Edlyn, first of all thanks for all the good work. Very nice app.
The NaN issue isn't only a Safari problem. It appears also with the following browser: IE. EDGE and Mozilla. On Chrome it runs smoothly.
Hello @Mookseberg, thank you for the appreciation! :smile:
I am working with this issue while fixing/adding new methods and events! Will check it also in other browsers. Thank you for the feedback and screenshots. :smile:
Hi @edlynvillegas and @Mookseberg ! I was dealing with the same issue on Safari and IE. Seems like they don't like the date format that was used. Here's what I did to fix it:
- instead of _.$cal_months_labels, I created a new array _.$cal_months = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
- I replaced _.$cal_months_labels with _.$cal_months everywhere inside the formatDate function
- Line 259, I replaced the space with /01/ (calendarHTML += _.$formatDate(new Date(monthName +' '+ new_year), _.options.titleFormat, 'en'); -> calendarHTML += _.$formatDate(new Date(monthName +'/01/ '+ new_year), _.options.titleFormat, 'en');)
I might have missed something since I have changed the code quite a lot, but I hope this helps :)
Edit: I also opened a pull request with these fixes.
Hi IngridRegina and edlynvillegas ,
Have a look. Although I altered the CSS a lot, it is still the EvoCalendar. I made a workaround with the changes of IngridRegina and it works on Firefox, Chrome, IE and Edge. I will check my iOS device later on and will revert on that. Thanks for now.
and have a look on the index page: https://radioclublimburg.nl/
tnx for all the good work
Hey @Mookseberg , glad I could help :) Also maybe you did it like this on purpose, but if you want the months on the left sidebar to still show as full month names instead of numbers, you can use the _.$cal_months_labels array only in the buildSidebarHTML function.
@IngridRegina Which file do you make fix _.$cal_months_labels? Currently my site doesn't work on Safari but no clue how to fix it (https://gayatri-a-b.github.io/)
hi, thanks for all the good work edlyin.
I fixed problem in safari :
change title in EvoCalendar.prototype.buildCalendar :
title = _.formatDate(new Date((_.$active.month + 1) + '/01/' + _.$active.year), _.options.titleFormat, _.options.language);
edit : fixed all bug about cross browser in this repository : https://github.com/saber-mogaddas/evo-calendar
hi
i am using evo calander but eventheader and event body is not displyed on mozial you can i shared screen shot
IN CROME BROWSER
and in MOZILA FIRE FOX
please help me what can i do for this issuse
When the dates are not shown on iOS devices is a matter of the date format.
In the demo there ist used F/d/Y (February/15/1999) - which is NOT WORKING FOR IOS.
Use M d Y (Feb 15 1999) instead. It works everywhere.