Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove +1 hours and add space in comment (#742) #743

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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