awing-library 2.1.144 → 2.1.145
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.
- package/lib/Utils/Helpers.js +1 -1
- package/package.json +1 -1
package/lib/Utils/Helpers.js
CHANGED
|
@@ -387,7 +387,7 @@ var convertDateTimeToTimestamp = function (date) {
|
|
|
387
387
|
};
|
|
388
388
|
exports.convertDateTimeToTimestamp = convertDateTimeToTimestamp;
|
|
389
389
|
var convertTimestampToDateTime = function (timestamp) {
|
|
390
|
-
return moment_1.default.unix(Number(timestamp.seconds)).toDate();
|
|
390
|
+
return moment_1.default.unix(Number(timestamp.seconds)).startOf("D").toDate();
|
|
391
391
|
};
|
|
392
392
|
exports.convertTimestampToDateTime = convertTimestampToDateTime;
|
|
393
393
|
var dateTimeToString = function (dateTime, format) {
|