Using it you can have your Pebble watchface to display weather, location, temperature, of course date and time, etc. etc. in highly customizable formats.
One cool thing it allows you to show – next calendar events from your Google calendar. As with everything else it’s a highly customizable entry. For example three (out of much more) options are:
%a – abbreviated day of the week
%R – start time of the event in 24-hour-format
%ET – event title
So if you format the calendar field as "%a %R: %ET"
your Pebble will display something like "Mon 12:30: Visit from Elvis"
. Unfortunately if calendar event is an all-day event (e.g. national holiday) – start time of the event (%R) always displays as “00:00” making your event look like "Tue 00:00: Day of the Tentacle"
. It would be really nice if we could hide the time for all-day events.
Fortunately one of the things Canvas allows you to do is conditional formatting. It does this in a form of {text1#condition#text2}
where if condition is true – text1 is displayed, otherwise text2 is displayed (which is optional and can be omitted).
I noticed that for all-day events, event duration (represented in Canvas as %ED) is always 24 hours (duh). So I replaced the above format for calendar event with this one: %a{ %R#%ED<24}: %ET
. The code in braces means “if event duration is less than 24 hours – show event start time, otherwise don’t show anything”. And the result is in images above.