@ammarkhalidfarooq/dashboard-package 0.6.76 → 0.6.77
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/dist/index.cjs.js +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2769,14 +2769,17 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
2769
2769
|
var now = new Date();
|
|
2770
2770
|
var daysLabel = "".concat(numberOfDays, " day").concat(numberOfDays === 1 ? "" : "s");
|
|
2771
2771
|
var windowLabel = "".concat(numberOfDays, "-day window");
|
|
2772
|
-
var
|
|
2772
|
+
var estOptions = {
|
|
2773
|
+
timeZone: "America/New_York"
|
|
2774
|
+
};
|
|
2775
|
+
var generatedLabel = now.toLocaleDateString("en-US", _objectSpread2({
|
|
2773
2776
|
month: "short",
|
|
2774
2777
|
day: "numeric",
|
|
2775
2778
|
year: "numeric"
|
|
2776
|
-
}) + " · " + now.toLocaleTimeString("en-US", {
|
|
2779
|
+
}, estOptions)) + " · " + now.toLocaleTimeString("en-US", _objectSpread2({
|
|
2777
2780
|
hour: "2-digit",
|
|
2778
2781
|
minute: "2-digit"
|
|
2779
|
-
}) + "
|
|
2782
|
+
}, estOptions)) + " EST";
|
|
2780
2783
|
var dateLabel = dateName;
|
|
2781
2784
|
var _normalizeFiltersText = function normalizeFiltersText(filtersInput) {
|
|
2782
2785
|
if (typeof filtersInput === "string") {
|