Skip to content

Commit

Permalink
refactor: update super early deadlines (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga authored Jan 16, 2025
1 parent 11a0d16 commit 6aa08ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/processors/default.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { OrderPayload } from '@bpm2025-website/shared';
import type { ProcessorSignature } from '#/types';

const super_early_deadline = new Date(2025, 0, 16);
const early_deadline = new Date(2025, 6, 15);
const super_early_deadline = new Date(2025, 1, 1); // February 1st, 2025
const early_deadline = new Date(2025, 6, 15); // July 15th, 2025
const includesConference
= (product_id: number | string): boolean => [2, 3].includes(Number(product_id));
const isWorkshopsOnly
Expand Down
12 changes: 6 additions & 6 deletions packages/frontend/src/data/tickets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export default [
{
price: 240,
currency,
period: 'until 15th January 2025'
period: 'until 31st January 2025'
},
{
price: 280,
currency,
period: 'between 16th January 2025 and 14th July 2025',
period: 'between 1st February 2025 and 14th July 2025',
variant: 'secondary'
},
{
Expand Down Expand Up @@ -73,12 +73,12 @@ export default [
{
price: 550,
currency,
period: 'until 15th January 2025'
period: 'until 31st January 2025'
},
{
price: 600,
currency,
period: 'between 16th January 2025 and 14th July 2025',
period: 'between 1st February 2025 and 14th July 2025',
variant: 'secondary'
},
{
Expand Down Expand Up @@ -121,12 +121,12 @@ export default [
{
price: 650,
currency,
period: 'until 15th January 2025'
period: 'until 31st January 2025'
},
{
price: 700,
currency,
period: 'between 16th January 2025 and 14th July 2025',
period: 'between 1st February 2025 and 14th July 2025',
variant: 'secondary'
},
{
Expand Down

0 comments on commit 6aa08ea

Please sign in to comment.