@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
|
@@ -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());
|