@8ms/helpers 2.0.13 → 2.0.14
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/.yarn/install-state.gz +0 -0
- package/date/index.d.ts +1 -1
- package/date/index.js +3 -1
- package/package.json +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/date/index.d.ts
CHANGED
|
@@ -30,6 +30,6 @@ export declare enum Month {
|
|
|
30
30
|
NOVEMBER = "NOVEMBER",
|
|
31
31
|
DECEMBER = "DECEMBER"
|
|
32
32
|
}
|
|
33
|
-
export { getUtcDate, getDate, getDatesBetween, getMax, getMin, getMonday, getSunday, getThisWeek, getLastWeek, getTwoWeeksAgo, getToday, getWeeksAgo, getYesterday, isThisWeek, isLastWeek, } from "./calculation";
|
|
33
|
+
export { getUtcDate, getDate, getDatesBetween, getMax, getMin, getMonday, getSunday, getThisWeek, getLastWeek, getTwoWeeksAgo, getToday, getWeeksAgo, getYesterday, isThisWeek, isLastWeek, isWeekend, differenceInBusinessDays, } from "./calculation";
|
|
34
34
|
export { getFinancialYear, getFinancialYearToDate, getFinancialYearToYesterday, getFinancialYearWeeks, } from "./financialYear";
|
|
35
35
|
export { format, getDayNumber, getFullDate, getFullDateTime, getDurationHours, getDurationMinutes, getMonthYearString, getTodayYmdString, getYearNumber, getYmdHisNumber, getYmdHisString, getYmdNumber, getYmdString, parseExcelDate } from "./format";
|
package/date/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseExcelDate = exports.getYmdString = exports.getYmdNumber = exports.getYmdHisString = exports.getYmdHisNumber = exports.getYearNumber = exports.getTodayYmdString = exports.getMonthYearString = exports.getDurationMinutes = exports.getDurationHours = exports.getFullDateTime = exports.getFullDate = exports.getDayNumber = exports.format = exports.getFinancialYearWeeks = exports.getFinancialYearToYesterday = exports.getFinancialYearToDate = exports.getFinancialYear = exports.isLastWeek = exports.isThisWeek = exports.getYesterday = exports.getWeeksAgo = exports.getToday = exports.getTwoWeeksAgo = exports.getLastWeek = exports.getThisWeek = exports.getSunday = exports.getMonday = exports.getMin = exports.getMax = exports.getDatesBetween = exports.getDate = exports.getUtcDate = exports.Month = void 0;
|
|
3
|
+
exports.parseExcelDate = exports.getYmdString = exports.getYmdNumber = exports.getYmdHisString = exports.getYmdHisNumber = exports.getYearNumber = exports.getTodayYmdString = exports.getMonthYearString = exports.getDurationMinutes = exports.getDurationHours = exports.getFullDateTime = exports.getFullDate = exports.getDayNumber = exports.format = exports.getFinancialYearWeeks = exports.getFinancialYearToYesterday = exports.getFinancialYearToDate = exports.getFinancialYear = exports.differenceInBusinessDays = exports.isWeekend = exports.isLastWeek = exports.isThisWeek = exports.getYesterday = exports.getWeeksAgo = exports.getToday = exports.getTwoWeeksAgo = exports.getLastWeek = exports.getThisWeek = exports.getSunday = exports.getMonday = exports.getMin = exports.getMax = exports.getDatesBetween = exports.getDate = exports.getUtcDate = exports.Month = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Used by Google Ads API.
|
|
6
6
|
*/
|
|
@@ -35,6 +35,8 @@ Object.defineProperty(exports, "getWeeksAgo", { enumerable: true, get: function
|
|
|
35
35
|
Object.defineProperty(exports, "getYesterday", { enumerable: true, get: function () { return calculation_1.getYesterday; } });
|
|
36
36
|
Object.defineProperty(exports, "isThisWeek", { enumerable: true, get: function () { return calculation_1.isThisWeek; } });
|
|
37
37
|
Object.defineProperty(exports, "isLastWeek", { enumerable: true, get: function () { return calculation_1.isLastWeek; } });
|
|
38
|
+
Object.defineProperty(exports, "isWeekend", { enumerable: true, get: function () { return calculation_1.isWeekend; } });
|
|
39
|
+
Object.defineProperty(exports, "differenceInBusinessDays", { enumerable: true, get: function () { return calculation_1.differenceInBusinessDays; } });
|
|
38
40
|
var financialYear_1 = require("./financialYear");
|
|
39
41
|
Object.defineProperty(exports, "getFinancialYear", { enumerable: true, get: function () { return financialYear_1.getFinancialYear; } });
|
|
40
42
|
Object.defineProperty(exports, "getFinancialYearToDate", { enumerable: true, get: function () { return financialYear_1.getFinancialYearToDate; } });
|