aboutsummaryrefslogtreecommitdiff
path: root/src/modules/date
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/date')
-rw-r--r--src/modules/date/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/date/index.ts b/src/modules/date/index.ts
index e8bdde28..c9c2eb5a 100644
--- a/src/modules/date/index.ts
+++ b/src/modules/date/index.ts
@@ -28,6 +28,7 @@ export class DateModule {
if (name === 'constructor' || typeof this[name] !== 'function') {
continue;
}
+
this[name] = this[name].bind(this);
}
}