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