Skip to content

Commit

Permalink
Make the registration-text look valid for 2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolframkriesing committed Jan 17, 2024
1 parent f7f6ea6 commit b3e6b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/lib/participants/registration.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const registrationOpensAt = +new Date('2023-05-01 00:00:00Z');
export const eventStartsAt = +new Date('2023-06-30 09:30:00Z');
export const registrationClosessAt = +new Date('2023-06-26 17:00:00Z');
export const registrationOpensAt = +new Date('2024-05-01 00:00:00Z');
export const eventStartsAt = +new Date('2024-06-30 09:30:00Z');
export const registrationClosessAt = +new Date('2023-04-26 17:00:00Z');
export const isRegistrationOpen = () => {
const now = +new Date();
return registrationOpensAt <= now && now <= registrationClosessAt;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<InfoBox title="When?">
<p>Summer 2024.</p>
{#if $registrationState === 'not-yet'}
<p>Registration will open about a month before.</p>
<p>Registration will open about a month before the event starts.</p>
{:else if $registrationState === 'closed'}
<p>Registration is closed, we're full!</p>
{:else}
Expand Down

0 comments on commit b3e6b30

Please sign in to comment.