diff --git a/src/Calendar/index.ts b/src/Calendar/index.ts index cbfd84e..16ac2f0 100644 --- a/src/Calendar/index.ts +++ b/src/Calendar/index.ts @@ -14,7 +14,9 @@ export default class Calendar { constructor(json) { this.jsonContent = json; - this.groupType = json["group"] ? json["group"].charAt(0) : GroupTypes.Day; + this.groupType = json["group"] + ? json["group"].charAt(0).toUpperCase() + : GroupTypes.Day; this.events = new Events(json["events"]); }