google-calendar icon indicating copy to clipboard operation
google-calendar copied to clipboard

google-calendar-busy-now shows 'n/a'

Open benhjt opened this issue 9 years ago • 0 comments

I have set up the google-calendar-busy-now element to point to a calendar. If there are no items in the calendar that day it shows 'n/a' rather than 'I'm free'.

This is because the query that is executed does not return any busyTimes and does not override the 'n/a' label which is set before the user is authorised. In this case, I would have expected it to display 'I'm free' as there are no events within the query time frame.

I'm happy to try a pull-request for this if this behaviour is agreed.

benhjt avatar Jul 06 '16 15:07 benhjt