turf-common 1.2.1-beta.54 → 1.2.1-beta.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -186,7 +186,7 @@ var TurfAvailability = /** @class */ (function () {
|
|
|
186
186
|
this.toTimeCode = timeCodeRange.slice(4, 8);
|
|
187
187
|
this.weekDays = Array.from(new Set(this.dateCodes.map(function (dateCode) {
|
|
188
188
|
return booking_code_model_1.BookingCode.getWeekday(Number(dateCode));
|
|
189
|
-
})));
|
|
189
|
+
}))).sort();
|
|
190
190
|
};
|
|
191
191
|
TurfAvailability.parse = function (eventCode) {
|
|
192
192
|
var eventCodes = eventCode.split("#");
|