Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events from Google Calendar showing at incorrect dates, or not showing at all #1070

Closed
Txukie opened this issue Oct 24, 2017 · 12 comments
Closed

Comments

@Txukie
Copy link

Txukie commented Oct 24, 2017

Edited:
I have been using a Google Calendar of birthdays to test this module out. Sometimes events show up but incorrectly, like several months in advance although they seem to show up on the same day, as in an event created for the 25th of March will actually show up as occurring on the 25th of October for example.

{
        module: "calendar",
        header: "Calendario",
        position: "top_left",
        classes: 'default everyone',
        config: {
            maximumEntries: 5,
            maximumNumberOfDays: 100,
            calendars: [
                  {
                           symbol: "exclamation-circle",
                           url: "webcal://calendar.google.com/calendar/ical/cf9euqob2a0tqe2409jffnpk2o%40group.calendar.google.com/private-a8870caf6c3ca46a785e7fd1fec0dcb5/basic.ics"
                   }
                  ]
              }
}

Just FYI, my locales are set as follows:

LANG=es_ES@euro
LANGUAGE=
LC_CTYPE="es_ES@euro"
LC_NUMERIC="es_ES@euro"
LC_TIME="es_ES@euro"
LC_COLLATE="es_ES@euro"
LC_MONETARY="es_ES@euro"
LC_MESSAGES="es_ES@euro"
LC_PAPER="es_ES@euro"
LC_NAME="es_ES@euro"
LC_ADDRESS="es_ES@euro"
LC_TELEPHONE="es_ES@euro"
LC_MEASUREMENT="es_ES@euro"
LC_IDENTIFICATION="es_ES@euro"
LC_ALL=
@morozgrafix
Copy link
Contributor

@Txukie it may not be a good idea to post link to your private calendar in a public forum.

@Txukie
Copy link
Author

Txukie commented Oct 25, 2017

You're totally right, let me make another account and copy this calendar accross and I will update my report accordingly.

Edit: Ok, I have updated the url it now points to a calendar I care nothing about.

@javilandoando
Copy link

I have same issue.
I don't know why although on google calendar any birthday remind is displayed properly, using this module I get a reminder related to a birthday on a different month although day, 21st for example, is correct.

Does any body find how to correct this?

@kleinmantara
Copy link

The same problem with me. I also use Google Calendar and all-day entries are displayed at the wrong time.

@mattmurf
Copy link

mattmurf commented Dec 3, 2017

I'm getting garbled times.. The date is showing correctly.

This was working and broke at some point in the past couple months.

Example:
Quiz blah, Blah, Blah
Today at AMb0oo12/4/2017ut1

@ghost
Copy link

ghost commented Dec 9, 2017

I don't know if it'd work OR IF anything else MIGHT break, but it may be worth trying...

npm update ical?

Since everything seems a bit old, but I don't have the testing hardware/software yet. Seems to make sense to me at least to have the latest version? If someone could test this, that'd be great!

@nhubbard
Copy link
Contributor

@matthewpmangus If you don't have testing hardware, it works just fine on an Intel/AMD based system. We don't use any special modules.

@Txukie
Copy link
Author

Txukie commented Jan 3, 2018

Tried the npm update ical to no avail

@E3V3A
Copy link
Contributor

E3V3A commented Jan 7, 2018

Make sure your locale is set correctly. There is little reason to not use UTF8.

# echo $LANG
en_US.UTF-8

Also check you time/date settings with:

# timedatectl status
...

@javilandoando
Copy link

time/date settings in my case are correct due to if they would be wrong, date will be displayed wrong on magic mirror.

I cannot check currently my locale setting but how does it impact on a time issue?
Does any body solve this problem?

@SpoturDeal
Copy link

SpoturDeal commented Jan 24, 2018

I have noticed that events that are in the iCal file without an DTEND will disappear on the actual date it should be visible. Without DTEND they will work in iPhone, Android and Windows.

BEGIN:VEVENT
UID:[email protected]
DTSTAMP:20180118T102124
DTSTART;VALUE=DATE:20180317
SUMMARY:Papierinzameling
DESCRIPTION:Ophaaldag: zaterdag
TRANSP:TRANSPARENT
END:VEVENT

But this one works just add an DTEND to the event. (it is a mistake in building the iCal file by the provider.) In this case the city of Uden Netherlands

BEGIN:VEVENT
UID:[email protected]
DTSTAMP:20180118T102124
DTSTART;VALUE=DATE:20180317
DTEND;VALUE=DATE:20180318 
SUMMARY:Papierinzameling
DESCRIPTION:Ophaaldag: zaterdag
TRANSP:TRANSPARENT
END:VEVENT

This is only for whole day events.

@MichMich
Copy link
Collaborator

MichMich commented Feb 7, 2018

Since this all has to do with the ical parser, I suggest we continue this issue discussion in: #1105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants