aboutsummaryrefslogtreecommitdiffstats
path: root/library/moment/src/lib/moment/clone.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/moment/src/lib/moment/clone.js')
-rw-r--r--library/moment/src/lib/moment/clone.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/moment/src/lib/moment/clone.js b/library/moment/src/lib/moment/clone.js
new file mode 100644
index 000000000..d96b328b2
--- /dev/null
+++ b/library/moment/src/lib/moment/clone.js
@@ -0,0 +1,5 @@
+import { Moment } from './constructor';
+
+export function clone () {
+ return new Moment(this);
+}