Skip to content

Commit

Permalink
fix build (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Himali-Malvawala authored Mar 22, 2024
1 parent ad7ff6a commit 4957879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/donations/DonationsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const DonationsPage = () => {
let b = batches[i];
const editLink = (canEdit) ? (<a href="about:blank" data-cy={`edit-${i}`} data-id={b.id} onClick={showEditBatch}><Icon>edit</Icon></a>) : null;
const batchLink = (canViewBatcht) ? (<Link to={"/donations/" + b.id}>{b.name}</Link>) : <>{b.name}</>;

const dateObj = new Date(b.batchDate);
let tz = dateObj.getTimezoneOffset() * 60 * 1000; //get timeZoneOffset in ms
const getDateTime = dateObj.getTime();
Expand Down

0 comments on commit 4957879

Please sign in to comment.