Skip to content

Commit 3c78384

Browse files
author
Cihad Tekin
committed
[push] setting start date correctly when user selects "send now"
1 parent abc748f commit 3c78384

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/push/frontend/public/javascripts/countly.models.js

+3
Original file line numberDiff line numberDiff line change
@@ -2008,6 +2008,9 @@
20082008
result.sctz = new Date().getTimezoneOffset();
20092009
}
20102010
}
2011+
else if (model.delivery.type === SendEnum.NOW) {
2012+
result.start = Date.now();
2013+
}
20112014
result.delayed = model[TypeEnum.ONE_TIME].audienceSelection === AudienceSelectionEnum.BEFORE;
20122015
return [result];
20132016
},

0 commit comments

Comments
 (0)