Skip to content

Commit

Permalink
Merge pull request #59 from Marvell-Consulting/fix-bug-in-point-matching
Browse files Browse the repository at this point in the history
Fixes issues where the wrong values are encoded in frontend
  • Loading branch information
j-maynard authored Dec 16, 2024
2 parents f15b587 + 1226ae4 commit ee49d22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/publish/point-in-time-chooser.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<fieldset class="govuk-fieldset">
<div class="govuk-radios" data-module="govuk-radios">
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="quarter-format-2" name="dateFormat" type="radio" value="DD/MM/YYYY">
<input class="govuk-radios__input" id="quarter-format-2" name="dateFormat" type="radio" value="dd/MM/yyyy">
<label class="govuk-label govuk-radios__label" for="quarter-format-2">
DD/MM/YYYY
</label>
Expand All @@ -30,7 +30,7 @@
</div>
</div>
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="quarter-format-3" name="dateFormat" type="radio" value="DD-MM-YYYY">
<input class="govuk-radios__input" id="quarter-format-3" name="dateFormat" type="radio" value="dd-MM-yyyy">
<label class="govuk-label govuk-radios__label" for="quarter-format-3">
DD-MM-YYYY
</label>
Expand All @@ -39,7 +39,7 @@
</div>
</div>
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="quarter-format-4" name="dateFormat" type="radio" value="-YYYY-MM-DD">
<input class="govuk-radios__input" id="quarter-format-4" name="dateFormat" type="radio" value="-yyyy-MM-dd">
<label class="govuk-label govuk-radios__label" for="quarter-format-4">
YYYY-MM-DD
</label>
Expand All @@ -48,7 +48,7 @@
</div>
</div>
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="quarter-format-5" name="dateFormat" type="radio" value="YYYYMMDD">
<input class="govuk-radios__input" id="quarter-format-5" name="dateFormat" type="radio" value="yyyyMMdd">
<label class="govuk-label govuk-radios__label" for="quarter-format-5">
YYYYMMDD
</label>
Expand Down

0 comments on commit ee49d22

Please sign in to comment.