@managesome/eposmatic-toolkit 0.2.384 → 0.2.385
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.
|
@@ -176,7 +176,7 @@ function formatDateToDateTime(date, gmtOffset) {
|
|
|
176
176
|
const isoString = tenantTime.toISOString();
|
|
177
177
|
// Extract date and time components
|
|
178
178
|
const datePart = isoString.slice(0, 10);
|
|
179
|
-
const timePart = isoString.slice(11,
|
|
179
|
+
const timePart = isoString.slice(11, 19);
|
|
180
180
|
// Combine date and time in the desired format
|
|
181
181
|
// FORMAT: YYYY-MM-DD HH:MM:SS
|
|
182
182
|
const customFormat = `${datePart} ${timePart}`;
|