Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scheduling-sdk",
"version": "0.4.3",
"version": "0.4.4",
"description": "Brought to you by Recal - A TypeScript SDK for scheduling functionality",
"author": "Recal",
"license": "MIT",
Expand Down
3 changes: 1 addition & 2 deletions src/availability/scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class AvailabilityScheduler {
* @param endTime - End of the search range
* @param options - Slot generation options (duration, split, offset, padding)
*
* @returns Array of available time slots
* @returns Array of available time slots (sorted by start time ascending)
*
* @throws {Error} If time range or options are invalid
*
Expand Down Expand Up @@ -313,7 +313,6 @@ export class AvailabilityScheduler {
if (timezone !== undefined) {
return this.validateTimezone(timezone)
}

const fallbackTimezone = process.env.SCHEDULING_TIMEZONE || 'UTC'
return fallbackTimezone === 'UTC' ? fallbackTimezone : this.validateTimezone(fallbackTimezone)
}
Expand Down
Loading