Skip to content

Commit

Permalink
Merge branch 'release.24.10' into release.24.12
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
  • Loading branch information
ar2rsawseen committed Jan 7, 2025
2 parents d22ce06 + 35d28ec commit 38107a5
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 275 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Version 24.12.x

Fixes:
- [push] Fixed bug where IOS credentials get mixed up while sending messages from different apps at the same time
- [push] Fixed bug where it crashes in connection pool growth because of a type mismatch in an if condition
Expand All @@ -9,6 +10,10 @@ Features:
Dependencies:
- Bump express from 4.21.1 to 4.21.2
- Bump mocha from 10.2.0 to 10.8.2
- Bump sass from 1.81.0 to 1.83.1
- Bump countly-sdk-nodejs from 24.10.0 to 24.10.1
- Bump express-rate-limit from 7.4.1 to 7.5.0
- Bump puppeteer from 23.10.4 to 23.11.1

## Version 24.12
Features:
Expand Down
8 changes: 7 additions & 1 deletion api/utils/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,13 @@ common.getDate = function(timestamp, timezone) {
* @returns {number} current day of the year
*/
common.getDOY = function(timestamp, timezone) {
var endDate = (timestamp) ? moment.unix(timestamp * 1000) : moment();
var endDate;
if (timestamp && timestamp.toString().length === 13) {
endDate = (timestamp) ? moment.unix(timestamp / 1000) : moment();
}
else {
endDate = (timestamp) ? moment.unix(timestamp) : moment();
}

if (timezone) {
endDate.tz(timezone);
Expand Down
273 changes: 9 additions & 264 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"ejs": "3.1.10",
"errorhandler": "1.5.1",
"express": "4.21.2",
"express-rate-limit": "7.4.1",
"express-rate-limit": "7.5.0",
"express-session": "1.18.1",
"form-data": "^4.0.0",
"formidable": "2.1.1",
Expand Down Expand Up @@ -83,7 +83,7 @@
"offline-geocoder": "git+https://github.com/Countly/offline-geocoder.git",
"properties-parser": "0.6.0",
"puppeteer": "^23.8.0",
"sass": "1.81.0",
"sass": "1.83.1",
"sqlite3": "^5.1.7",
"tslib": "^2.6.3",
"uglify-js": "3.19.3",
Expand Down
Loading

0 comments on commit 38107a5

Please sign in to comment.