Skip to content

Remove "PDT" from hours #2024

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

Merged
merged 1 commit into from
Jun 17, 2025
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
8 changes: 7 additions & 1 deletion src/app/conf/2025/schedule/_components/schedule-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,13 @@ export function ScheduleList({
<div className="mr-px flex flex-col max-lg:ml-px lg:flex-row">
<div className="relative border-neu-50 bg-neu-50 dark:bg-neu-0 max-lg:-mx-px max-lg:my-px max-lg:border-x lg:mr-px">
<span className="typography-body-sm mt-3 inline-block w-20 whitespace-nowrap pb-0.5 pl-4 lg:mr-6 lg:w-28 lg:pb-4 lg:pl-0">
{format(parseISO(sessionDate), "hh:mmaaaa 'PDT'")}
{parseISO(sessionDate).toLocaleTimeString(
undefined,
{
hour: "2-digit",
minute: "2-digit",
},
)}
</span>
</div>
<div className="relative flex w-full flex-col items-end gap-px lg:flex-row lg:items-start">
Expand Down
8 changes: 7 additions & 1 deletion src/app/conf/_components/schedule/schedule-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@ export function ScheduleList({
<div className="mb-4 flex flex-col lg:flex-row">
<div className="relative">
<span className="mb-5 mt-3 inline-block w-20 whitespace-nowrap text-gray-500 lg:mr-7 lg:mt-0 lg:w-28">
{format(parseISO(sessionDate), "hh:mmaaaa 'PDT'")}
{parseISO(sessionDate).toLocaleTimeString(
undefined,
{
hour: "2-digit",
minute: "2-digit",
},
)}
</span>
<div className="absolute right-3 top-0 hidden h-full w-0.5 bg-gray-200 lg:block" />
</div>
Expand Down