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