@bash-app/bash-common 29.23.1 → 29.23.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.23.1",
3
+ "version": "29.23.2",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -191,7 +191,7 @@ export function parseTimeString(timeStr: string): ITime | null {
191
191
  return null;
192
192
  }
193
193
 
194
- function localDateToUTC(date: Date): Date {
194
+ export function localDateToUTC(date: Date): Date {
195
195
  const newDate = new Date(date.getUTCFullYear(), date.getUTCMonth(),
196
196
  date.getUTCDate(), date.getUTCHours(),
197
197
  date.getUTCMinutes(), date.getUTCSeconds());