@sprucelabs/calendar-utils 35.0.32 → 35.0.33

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.
@@ -8,7 +8,7 @@ export default class DateUtilDecorator {
8
8
  assertOptions({ dateUtil }, ['dateUtil']);
9
9
  return Object.assign(Object.assign({}, dateUtil), {
10
10
  //@ts-ignore
11
- __beenDecorated: true, date: (date) => {
11
+ __beenDecorated: true, __local: this, date: (date) => {
12
12
  let value;
13
13
  if (!date) {
14
14
  const d = new Date();
@@ -10,7 +10,7 @@ class DateUtilDecorator {
10
10
  (0, schema_1.assertOptions)({ dateUtil }, ['dateUtil']);
11
11
  return Object.assign(Object.assign({}, dateUtil), {
12
12
  //@ts-ignore
13
- __beenDecorated: true, date: (date) => {
13
+ __beenDecorated: true, __local: this, date: (date) => {
14
14
  let value;
15
15
  if (!date) {
16
16
  const d = new Date();
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "35.0.32",
6
+ "version": "35.0.33",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",