diff --git a/packages/synapse-interface/components/Maintenance/EventCountdownProgressBar.tsx b/packages/synapse-interface/components/Maintenance/EventCountdownProgressBar.tsx index 5225124513..04c57569b9 100644 --- a/packages/synapse-interface/components/Maintenance/EventCountdownProgressBar.tsx +++ b/packages/synapse-interface/components/Maintenance/EventCountdownProgressBar.tsx @@ -143,7 +143,7 @@ const calculateTimeUntilTarget = (targetDate: Date) => { const isComplete = timeDifference <= 0 const daysRemaining = Math.floor(timeDifference / (1000 * 60 * 60 * 24)) - const hoursRemaining = Math.floor( + const hoursRemaining = Math.ceil( (timeDifference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60) ) const minutesRemaining = Math.floor( diff --git a/packages/synapse-interface/components/Maintenance/Events/example/EcotoneForkUpgrade.tsx b/packages/synapse-interface/components/Maintenance/Events/example/EcotoneForkUpgrade.tsx index d3aa495542..c57e6405c4 100644 --- a/packages/synapse-interface/components/Maintenance/Events/example/EcotoneForkUpgrade.tsx +++ b/packages/synapse-interface/components/Maintenance/Events/example/EcotoneForkUpgrade.tsx @@ -21,8 +21,8 @@ import { WarningMessage } from '../../../Warning' export const ECOTONE_FORK_BANNERS_START = new Date( Date.UTC(2024, 2, 20, 16, 0, 0) ) -export const ECOTONE_FORK_START_DATE = new Date(Date.UTC(2024, 2, 20, 16, 0, 0)) -export const ECOTONE_FORK_END_DATE = new Date(Date.UTC(2024, 2, 20, 18, 0, 0)) +export const ECOTONE_FORK_START_DATE = new Date(Date.UTC(2024, 2, 20, 18, 0, 0)) +export const ECOTONE_FORK_END_DATE = new Date(Date.UTC(2024, 2, 20, 21, 0, 0)) /** Previous implementation can be seen here: https://github.com/synapsecns/sanguine/pull/2294/files#diff-bbe6298d3dfbc80e46e2ff8b399a3e1822cede80f392b1af91875145ad4eeb19R19 */ export const EcotoneForkUpgradeBanner = () => {