Skip to content

Commit

Permalink
Remove +1 hours and add space in comment (#742) (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeEverett committed Feb 2, 2024
1 parent 779f7eb commit cd380dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/shared/DisruptionInfo/DisruptionInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ const DisruptionInfo = ({ disruption }) => {
<p>
<strong>When?</strong>
<br />
{/* Temporary fix for textual errors of rail disruption timings during British Summer Time */}
<Moment locale="en-GB" format="dddd, Do MMMM YYYY HH:mm" add={{ hours: 1 }}>
{/* Temporary fix for textual errors of rail disruption timings during British Summer Time:<Moment locale="en-GB" format="dddd, Do MMMM YYYY HH:mm" add={{ hours: 1 }}> */}
<Moment locale="en-GB" format="dddd, Do MMMM YYYY HH:mm">
{disruption.disruptionTimeWindow.start}
</Moment>
{' to '}

<Moment locale="en-GB" format="dddd, Do MMMM YYYY HH:mm" add={{ hours: 1 }}>
<Moment locale="en-GB" format="dddd, Do MMMM YYYY HH:mm">
{disruption.disruptionTimeWindow.end}
</Moment>
</p>
Expand Down

0 comments on commit cd380dc

Please sign in to comment.