Skip to content

Commit 91392be

Browse files
committed
Fix week days
1 parent 1b16600 commit 91392be

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

plugins/times-of-day/frontend/public/javascripts/countly.models.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
/*global countlyCommon,CV,countlyVue,countlyEvent,moment,jQuery */
1+
/*global countlyCommon,CV,countlyVue,countlyEvent,moment*/
22
(function(countlyTimesOfDay) {
33

44
countlyTimesOfDay.service = {
55
HOURS: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23],
6-
WEEK_DAYS: [
7-
jQuery.i18n.map["common.monday"] || "monday",
8-
jQuery.i18n.map["common.tuesday"] || "tuesday",
9-
jQuery.i18n.map["common.wednesday"] || "wednesday",
10-
jQuery.i18n.map["common.thursday"] || "thursday",
11-
jQuery.i18n.map["common.friday"] || "friday",
12-
jQuery.i18n.map["common.saturday"] || "saturday",
13-
jQuery.i18n.map["common.sunday"] || "sunday"
14-
],
6+
WEEK_DAYS: ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"],
157
DateBucketEnum: {
168
PREV_MONTH: "previous",
179
THIS_MONTH: "current",

0 commit comments

Comments
 (0)