⬆️ v3.0.0 (#704)

This commit is contained in:
Luke Vella 2023-06-19 17:17:00 +01:00 committed by GitHub
parent 735056f25f
commit c22b3abc4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
385 changed files with 19912 additions and 5250 deletions

View file

@ -37,7 +37,7 @@ async function main() {
id: user.id,
},
},
timeZone: "America/New_York",
timeZone: duration !== 0 ? "America/New_York" : undefined,
options: {
create: faker.date
.betweens(
@ -48,6 +48,7 @@ async function main() {
.map((date) => {
// rounded to nearest 15 minutes
date.setMinutes(Math.round(date.getMinutes() / 15) * 15);
date.setSeconds(0);
return {
start: date,
duration,