mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-05 07:08:19 +00:00
Merge branch 'develop' into client-only-pr
This commit is contained in:
commit
2d1e993fe1
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user