Skip to content

Commit

Permalink
Update time leaderboard Vara
Browse files Browse the repository at this point in the history
  • Loading branch information
anhnhu committed Jul 31, 2024
1 parent 7407b9d commit 53e5f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/extension-koni-ui/src/utils/date/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function calculateStartAndEnd (key: string) {

case 'vara_playdrop': {
const startEnv = process.env.VARA_PLAYDROP_START_DATE || '2024-07-10 10:00:00' as string;
const endEnv = process.env.VARA_PLAYDROP_END_DATE || '2024-07-31 10:00:00' as string;
const endEnv = process.env.VARA_PLAYDROP_END_DATE || '2024-08-05 03:00:00' as string;
const startDate = new Date(startEnv);
const endDate = new Date(endEnv);

Expand All @@ -75,7 +75,7 @@ export function calculateStartAndEnd (key: string) {

case 'invite_to_play': {
const startEnv = process.env.VARA_PLAYDROP_START_DATE || '2024-07-10 10:00:00' as string;
const endEnv = process.env.VARA_PLAYDROP_END_DATE || '2024-07-31 10:00:00' as string;
const endEnv = process.env.VARA_PLAYDROP_END_DATE || '2024-08-05 03:00:00' as string;
const startDate = new Date(startEnv);
const endDate = new Date(endEnv);

Expand Down

0 comments on commit 53e5f6e

Please sign in to comment.