-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ✨ update time picker #112
Conversation
@KevinWu098 Is it possible to validate the start time before the end time on the time picker? Currently I can create a meeting from 11pm - 4pm and it has some unintentional behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and everything works. Just a few things to clean up and it's ready to go.
return hour.toString().padStart(2, "0"); | ||
} | ||
|
||
$: $startTime = `${convertTo24Hour(startHour, startPeriod)}:00` as `${string}:${string}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a HourMinuteString
type in src/lib/types/chrono.ts
and it would be nice to use that.
Summary
Closes #84