@webuildbots/webuildbots-sdk 9.2.3 → 9.2.4

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/lib/util/utils.js CHANGED
@@ -6,7 +6,7 @@ var Utils = /** @class */ (function () {
6
6
  function Utils() {
7
7
  }
8
8
  Utils.parseDate = function (formValue, languageCode) {
9
- sugar_1.Date.setLocale('en');
9
+ sugar_1.Date.setLocale('en-GB');
10
10
  var date = new sugar_1.Date(sugar_1.Date.create(formValue, { locale: languageCode })).short('en-GB');
11
11
  return date.raw;
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webuildbots/webuildbots-sdk",
3
- "version": "9.2.3",
3
+ "version": "9.2.4",
4
4
  "description": "webuildbots sdk",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",