@truto/truto-jsonata 1.0.46 → 1.0.47
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/browser/index.js
CHANGED
|
@@ -50642,17 +50642,17 @@ var digest = async (text, algorithm = "SHA-256", stringType = "hex") => {
|
|
|
50642
50642
|
var digest_default = digest;
|
|
50643
50643
|
|
|
50644
50644
|
// src/functions/dtFromFormat.ts
|
|
50645
|
-
function dtFromFormat(date, format) {
|
|
50645
|
+
function dtFromFormat(date, format, options3) {
|
|
50646
50646
|
if (format === "RFC2822") {
|
|
50647
|
-
return DateTime.fromRFC2822(date);
|
|
50647
|
+
return DateTime.fromRFC2822(date, options3);
|
|
50648
50648
|
}
|
|
50649
50649
|
if (format === "ISO") {
|
|
50650
|
-
return DateTime.fromISO(date);
|
|
50650
|
+
return DateTime.fromISO(date, options3);
|
|
50651
50651
|
}
|
|
50652
50652
|
if (format === "fromSeconds") {
|
|
50653
|
-
return DateTime.fromSeconds(parseInt(date));
|
|
50653
|
+
return DateTime.fromSeconds(parseInt(date), options3);
|
|
50654
50654
|
}
|
|
50655
|
-
return DateTime.fromFormat(date, format);
|
|
50655
|
+
return DateTime.fromFormat(date, format, options3);
|
|
50656
50656
|
}
|
|
50657
50657
|
var dtFromFormat_default = dtFromFormat;
|
|
50658
50658
|
|
|
@@ -67950,4 +67950,4 @@ export {
|
|
|
67950
67950
|
trutoJsonata as default
|
|
67951
67951
|
};
|
|
67952
67952
|
|
|
67953
|
-
//# debugId=
|
|
67953
|
+
//# debugId=E22AACED232C3A8A64756E2164756E21
|