Skip to content

Commit

Permalink
hotfix: temporarily handle direct grant rounds (#2402)
Browse files Browse the repository at this point in the history
  • Loading branch information
vacekj authored Sep 29, 2023
1 parent 274fbd2 commit 3d0e8f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ export const padSingleDigitNumberWithZero = (i: number): string =>
i < 10 ? "0" + i : i.toString();

export const formatUTCDateAsISOString = (date: Date): string => {
// @ts-expect-error remove when DG support is merged
if (isNaN(date)) {
return "";
}
const isoString = date.toISOString();
return isoString.slice(0, 10).replace(/-/g, "/");
};
Expand Down

4 comments on commit 3d0e8f7

@vercel
Copy link

@vercel vercel bot commented on 3d0e8f7 Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-staging – ./packages/builder

builder-staging-grants-stack.vercel.app
builder-staging-xi.vercel.app
builder-staging-git-main-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3d0e8f7 Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

manager-staging – ./packages/round-manager

manager-staging-git-main-grants-stack.vercel.app
manager-staging-grants-stack.vercel.app
manager-staging.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3d0e8f7 Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

manager – ./packages/round-manager

manager-grants-stack.vercel.app
manager-git-main-grants-stack.vercel.app
grants-stack-round-manager.vercel.app
manager.gitcoin.co

@vercel
Copy link

@vercel vercel bot commented on 3d0e8f7 Sep 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

explorer-staging – ./packages/grant-explorer

explorer-staging-git-main-grants-stack.vercel.app
grants-stack-grant-explorer-ten.vercel.app
explorer-staging-grants-stack.vercel.app

Please sign in to comment.