aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/create/local.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/create/local.js')
-rw-r--r--library/moment/src/lib/create/local.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/moment/src/lib/create/local.js b/library/moment/src/lib/create/local.js
new file mode 100644
index 000000000..88c1e2692
--- /dev/null
+++ b/library/moment/src/lib/create/local.js
@@ -0,0 +1,5 @@
+import { createLocalOrUTC } from './from-anything';
+
+export function createLocal (input, format, locale, strict) {
+ return createLocalOrUTC(input, format, locale, strict, false);
+}