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.
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.144",
3
+ "version": "2.1.145",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",