@cellaware/utils 3.3.23 → 3.3.24

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.
@@ -1,3 +1,5 @@
1
+ export declare function getCosmosCurrentDateTime(timeZone?: string): string;
2
+ export declare function getCosmosTimestampDateTime(timeZone?: string): string;
1
3
  export declare function getCosmosCurrentYear(timeZone?: string): string;
2
4
  export declare function getCosmosTimestampYear(timeZone?: string): string;
3
5
  export declare function getCosmosCurrentMonth(timeZone?: string): string;
@@ -28,10 +28,10 @@ function getCosmosTimeZoneHourDiff(timeZone) {
28
28
  }
29
29
  return diff;
30
30
  }
31
- function getCosmosCurrentDateTime(timeZone) {
31
+ export function getCosmosCurrentDateTime(timeZone) {
32
32
  return `DateTimeAdd("hh", ${getCosmosTimeZoneHourDiff(timeZone)}, ${COSMOS_CURRENT_DATETIME})`;
33
33
  }
34
- function getCosmosTimestampDateTime(timeZone) {
34
+ export function getCosmosTimestampDateTime(timeZone) {
35
35
  return `DateTimeAdd("hh", ${getCosmosTimeZoneHourDiff(timeZone)}, ${COSMOS_TIMESTAMP_DATETIME})`;
36
36
  }
37
37
  export function getCosmosCurrentYear(timeZone) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "3.3.23",
3
+ "version": "3.3.24",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",