Merge branch 'develop' into client-only-pr

This commit is contained in:
Michael Teeuw 2017-07-12 11:07:49 +02:00 committed by GitHub
commit 2d1e993fe1
3 changed files with 11 additions and 3 deletions

View File

@ -5,11 +5,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [2.1.3] - Unreleased ## [2.1.3] - Unreleased
### Changed ### Changed
### Added ### Added
- Add `clientonly` script to start only the electron client for a remote server - Add `clientonly` script to start only the electron client for a remote server.
- Add symbol and color properties of event when `CALENDAR_EVENTS` notification is broadcasted from `default/calendar` module.
### Updated ### Updated
### Fixed ### Fixed
- Fixed issue with incorrect allignment of analog clock when displayed in the center column of the MM
## [2.1.2] - 2017-07-01 ## [2.1.2] - 2017-07-01
### Changed ### Changed

View File

@ -81,7 +81,7 @@ Module.register("calendar", {
case 24: { case 24: {
moment.updateLocale(config.language, { moment.updateLocale(config.language, {
longDateFormat: { longDateFormat: {
LT: "hh:mm" LT: "HH:mm"
} }
}); });
break; break;
@ -522,6 +522,8 @@ Module.register("calendar", {
var calendar = this.calendarData[url]; var calendar = this.calendarData[url];
for (var e in calendar) { for (var e in calendar) {
var event = cloneObject(calendar[e]); var event = cloneObject(calendar[e]);
event.symbol = this.symbolsForUrl(url);
event.color = this.colorForUrl(url);
delete event.url; delete event.url;
eventList.push(event); eventList.push(event);
} }

View File

@ -1,5 +1,5 @@
.clockCircle { .clockCircle {
margin: 0; margin: 0 auto;
position: relative; position: relative;
border-radius: 50%; border-radius: 50%;
background-size: 100%; background-size: 100%;