| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,7 +15,7 @@ | |||
| 15 | 15 | <div class="content__dateline content__dateline-crossword"> | |
| 16 | 16 | <time itemprop="datePublished" datetime="@crosswordPage.crossword.date.toString("yyyy-MM-dd'T'HH:mm:ssZ"))" | |
| 17 | 17 | data-timestamp="@crosswordPage.crossword.date.getMillis" class="content__dateline-wpd js-wpd"> | |
| 18 | - @crosswordPage.crossword.date.toString("E d MMM ‘yy") <span class="content__dateline-time">@AuFriendlyFormat(crosswordPage.crossword.date)</span> | ||
| 18 | + @crosswordPage.crossword.date.toString("E d MMM yyyy") <span class="content__dateline-time">@AuFriendlyFormat(crosswordPage.crossword.date)</span> | ||
| 19 | 19 | </time> | |
| 20 | 20 | </div> | |
| 21 | 21 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -159,7 +159,7 @@ import collection.JavaConverters._ | |||
| 159 | 159 | import browser._ | |
| 160 | 160 | ||
| 161 | 161 | Then("I should see the publication date of the article") | |
| 162 | - $(".content__dateline-wpd").text should be("Mon 6 Aug ‘12 20.30 BST") | ||
| 162 | + $(".content__dateline-wpd").text should be("Mon 6 Aug 2012 20.30 BST") | ||
| 163 | 163 | $("time").attribute("datetime") should be("2012-08-06T20:30:00+0100") | |
| 164 | 164 | } | |
| 165 | 165 | } | |
@@ -171,31 +171,31 @@ import collection.JavaConverters._ | |||
| 171 | 171 | goTo("/world/2012/nov/08/syria-arms-embargo-rebel") { browser => | |
| 172 | 172 | import browser._ | |
| 173 | 173 | Then("the date should be 'Thursday 8 November 2012 00.01 GMT'") | |
| 174 | - $(".content__dateline time").text should be("Thu 8 Nov ‘12 00.01 GMT") | ||
| 174 | + $(".content__dateline time").text should be("Thu 8 Nov 2012 00.01 GMT") | ||
| 175 | 175 | } | |
| 176 | 176 | ||
| 177 | 177 | Given("I am on an article published on '2012-11-08'") | |
| 178 | 178 | And("I am on the 'US' edition") | |
| 179 | 179 | US("/world/2012/nov/08/syria-arms-embargo-rebel") { browser => | |
| 180 | 180 | import browser._ | |
| 181 | 181 | Then("the date should be 'Wednesday 7 November 2012 19.01 GMT'") | |
| 182 | - $(".content__dateline time").text should be("Wed 7 Nov ‘12 19.01 EST") | ||
| 182 | + $(".content__dateline time").text should be("Wed 7 Nov 2012 19.01 EST") | ||
| 183 | 183 | } | |
| 184 | 184 | ||
| 185 | 185 | Given("I am on an article published on '2012-08-19'") | |
| 186 | 186 | And("I am on the 'UK' edition") | |
| 187 | 187 | goTo("/business/2012/aug/19/shell-spending-security-nigeria-leak") { browser => | |
| 188 | 188 | import browser._ | |
| 189 | 189 | Then("the date should be 'Sunday 19 August 2012 18.38 BST'") | |
| 190 | - $(".content__dateline time").text should be("Sun 19 Aug ‘12 18.38 BST") | ||
| 190 | + $(".content__dateline time").text should be("Sun 19 Aug 2012 18.38 BST") | ||
| 191 | 191 | } | |
| 192 | 192 | ||
| 193 | 193 | Given("I am on an article published on '2012-08-19'") | |
| 194 | 194 | And("I am on the 'US' edition") | |
| 195 | 195 | US("/business/2012/aug/19/shell-spending-security-nigeria-leak") { browser => | |
| 196 | 196 | import browser._ | |
| 197 | 197 | Then("the date should be 'Sunday 19 August 2012 13.38 BST'") | |
| 198 | - $(".content__dateline time").text should be("Sun 19 Aug ‘12 13.38 EDT") | ||
| 198 | + $(".content__dateline time").text should be("Sun 19 Aug 2012 13.38 EDT") | ||
| 199 | 199 | } | |
| 200 | 200 | ||
| 201 | 201 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,9 +8,9 @@ | |||
| 8 | 8 | <time itemprop="datePublished" datetime='@Format(webPublicationDate, "yyyy-MM-dd'T'HH:mm:ssZ")' | |
| 9 | 9 | data-timestamp="@webPublicationDate.getMillis" class="content__dateline-wpd js-wpd"> | |
| 10 | 10 | @if(isMinute) { | |
| 11 | - <span class="content__dateline-time">@Format(webPublicationDate, "E d MMM ‘yy")</span> | ||
| 11 | + <span class="content__dateline-time">@Format(webPublicationDate, "E d MMM yyyy")</span> | ||
| 12 | 12 | } else { | |
| 13 | - @Format(webPublicationDate, "E d MMM ‘yy") <span class="content__dateline-time">@AuFriendlyFormat(webPublicationDate)</span> | ||
| 13 | + @Format(webPublicationDate, "E d MMM yyyy") <span class="content__dateline-time">@AuFriendlyFormat(webPublicationDate)</span> | ||
| 14 | 14 | } | |
| 15 | 15 | </time> | |
| 16 | 16 | @if(isLiveBlog) { | |
@@ -22,7 +22,7 @@ | |||
| 22 | 22 | data-timestamp="@date.getMillis" class="content__dateline-lm js-lm u-h" | |
| 23 | 23 | @optItemProp.map { itemProp => itemprop="@itemProp" } | |
| 24 | 24 | > | |
| 25 | - @label @Format(date, "E d MMM ‘yy") <span class="content__dateline-time">@AuFriendlyFormat(date)</span> | ||
| 25 | + @label @Format(date, "E d MMM yyyy") <span class="content__dateline-time">@AuFriendlyFormat(date)</span> | ||
| 26 | 26 | </time> | |
| 27 | 27 | } | |
| 28 | 28 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments