@opengeoweb/shared 9.3.1 → 9.4.0

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/index.esm.js CHANGED
@@ -3377,7 +3377,7 @@ var getWarningMessage = function getWarningMessage(error) {
3377
3377
  *
3378
3378
  * To parse an arbitrary date string to a UTC string use:
3379
3379
  *
3380
- * dateToString(new Date('2022-10-10T15:30:00Z', 'HH:ss dd MMM yyyy')
3380
+ * dateToString(new Date('2022-10-10T15:30:00Z'), 'HH:ss dd MMM yyyy')
3381
3381
  *
3382
3382
  */
3383
3383
  /**
@@ -3388,7 +3388,8 @@ var getWarningMessage = function getWarningMessage(error) {
3388
3388
  *
3389
3389
  * @returns {Date} Date
3390
3390
  * @example
3391
- * ``` isoStringToDate("2022-5-10T20:32:00+00:00")) ```
3391
+ * ``` isoStringToDate("2022-5-10T20:32:00+00:00") ```
3392
+ * ``` isoStringToDate("2022-5-10T20:32:00:00Z", false) ```
3392
3393
  */
3393
3394
  var isoStringToDate = function isoStringToDate(input) {
3394
3395
  var utc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/shared",
3
- "version": "9.3.1",
3
+ "version": "9.4.0",
4
4
  "description": "GeoWeb shared library with shared components and utils for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -46,7 +46,7 @@ export interface DateValues {
46
46
  *
47
47
  * To parse an arbitrary date string to a UTC string use:
48
48
  *
49
- * dateToString(new Date('2022-10-10T15:30:00Z', 'HH:ss dd MMM yyyy')
49
+ * dateToString(new Date('2022-10-10T15:30:00Z'), 'HH:ss dd MMM yyyy')
50
50
  *
51
51
  */
52
52
  /**
@@ -57,7 +57,8 @@ export interface DateValues {
57
57
  *
58
58
  * @returns {Date} Date
59
59
  * @example
60
- * ``` isoStringToDate("2022-5-10T20:32:00+00:00")) ```
60
+ * ``` isoStringToDate("2022-5-10T20:32:00+00:00") ```
61
+ * ``` isoStringToDate("2022-5-10T20:32:00:00Z", false) ```
61
62
  */
62
63
  export declare const isoStringToDate: (input: string, utc?: boolean) => Date;
63
64
  /**