@bash-app/bash-common 29.23.1 → 29.24.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/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1410,6 +1410,8 @@ model ServiceRatesAssociation {
|
|
|
1410
1410
|
volunteerServiceId String?
|
|
1411
1411
|
volunteerService VolunteerService? @relation(fields: [volunteerServiceId], references: [id], onDelete: Cascade)
|
|
1412
1412
|
|
|
1413
|
+
minimumTimeBlockHours Int
|
|
1414
|
+
|
|
1413
1415
|
serviceGeneralRatesId String?
|
|
1414
1416
|
serviceGeneralRates ServiceRate? @relation(fields: [serviceGeneralRatesId], references: [id], onDelete: Cascade)
|
|
1415
1417
|
|
|
@@ -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());
|