iobroker-ucl 1.0.29 → 1.0.30

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.
package/date.js CHANGED
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DateUtil2 = void 0;
4
- var DateUtil2 = /** @class */ (function () {
5
- function DateUtil2() {
3
+ exports.DateUtil = void 0;
4
+ var DateUtil = /** @class */ (function () {
5
+ function DateUtil() {
6
6
  }
7
- DateUtil2.prototype.getCurrentWeekdayAsString = function () {
7
+ DateUtil.prototype.getCurrentWeekdayAsString = function () {
8
8
  var now = new Date();
9
9
  var weekday = now.getDay();
10
10
  return this.getWeekdayAsString(weekday);
11
11
  };
12
- DateUtil2.prototype.getWeekdayAsString = function (weekday) {
12
+ DateUtil.prototype.getWeekdayAsString = function (weekday) {
13
13
  var weekdayAsString;
14
14
  if (weekday == 1) {
15
15
  weekdayAsString = "Montag";
@@ -37,7 +37,7 @@ var DateUtil2 = /** @class */ (function () {
37
37
  }
38
38
  return weekdayAsString;
39
39
  };
40
- return DateUtil2;
40
+ return DateUtil;
41
41
  }());
42
- exports.DateUtil2 = DateUtil2;
43
- module.exports = { DateUtil2: DateUtil2 };
42
+ exports.DateUtil = DateUtil;
43
+ module.exports = { DateUtil: DateUtil };
package/date.ts CHANGED
@@ -1,4 +1,4 @@
1
- export class DateUtil2 {
1
+ export class DateUtil {
2
2
 
3
3
  public getCurrentWeekdayAsString() : string {
4
4
  var now = new Date();
@@ -29,4 +29,4 @@ export class DateUtil2 {
29
29
  }
30
30
  }
31
31
 
32
- module.exports = { DateUtil2 };
32
+ module.exports = { DateUtil };
package/main.js CHANGED
@@ -1,6 +1,6 @@
1
- var DateUtil2 = require('./date.js').DateUtil2;
1
+ var DateUtil = require('./date.js').DateUtil;
2
2
  var DateCalendarTest = require('./test.js').DateCalendarTest;
3
3
  module.exports = {
4
- DateUtil2: DateUtil2,
4
+ DateUtil: DateUtil,
5
5
  DateCalendarTest: DateCalendarTest
6
6
  };
package/main.ts CHANGED
@@ -1,7 +1,7 @@
1
- const { DateUtil2 } = require('./date.js');
1
+ const { DateUtil } = require('./date.js');
2
2
  const { DateCalendarTest } = require('./test.js');
3
3
 
4
4
  module.exports = {
5
- DateUtil2,
5
+ DateUtil,
6
6
  DateCalendarTest
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker-ucl",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",