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 BST temp +1 hour fix #740

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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 @@
<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 }}>*/}

Check failure on line 112 in src/components/shared/DisruptionInfo/DisruptionInfo.js

View workflow job for this annotation

GitHub Actions / eslint

[eslint] src/components/shared/DisruptionInfo/DisruptionInfo.js#L112 <spaced-comment>(https://eslint.org/docs/latest/rules/spaced-comment)

Expected space or tab before '*/' in comment.
Raw output
{"ruleId":"spaced-comment","severity":2,"message":"Expected space or tab before '*/' in comment.","line":112,"column":16,"nodeType":"Block","messageId":"expectedSpaceBefore","endLine":112,"endColumn":186,"fix":{"range":[4190,4190],"text":" "}}
<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
Loading