discourse-calendar/assets/stylesheets/common
Martin Brennan 3561c3919b
FEATURE: Add timezone picker and options (#11)
Added these options for the markdown block, which utilise fullcalendar's inbuilt timezone functionality:

* `defaultTimezone` - Provide a default timezone to display the calendar dates in. If this is null we fall back to the current user timezone, and if that is null (or the current user is null) we fall back to moment.tz.guess(). This value is validated.
* `tzPicker` - If set to true, show a dropdown list allowing the user to pick the timezone the calendar displays in. The selected value is based on the rules described in tzdefault. If this is not turned on we show the text of the timezone in the header. The options for the picker come from moment.tz.names() and are rendered into the select at runtime, so we are not storing huge amounts of <option> HTML elements in the DB for no real reason.

I also hid the fullcalendar title because the title is now up in the header of the calendar
2019-12-31 07:52:12 +10:00
..
discourse-calendar.scss FEATURE: Add timezone picker and options (#11) 2019-12-31 07:52:12 +10:00