| 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("EEEE d MMMM y") <span class="content__dateline-time">@AuFriendlyFormat(crosswordPage.crossword.date)</span> | ||
| 18 | + @crosswordPage.crossword.date.toString("E d MMM yy’") <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("Monday 6 August 2012 20.30 BST") | ||
| 162 | + $(".content__dateline-wpd").text should be("Mon 6 Aug 12‘ 20.30 BST") | ||
| 163 | 163 | $("time").attribute("datetime") should be("2012-08-06T20:30:00+0100") | |
| 164 | 164 | } | |
| 165 | 165 | } | |
| 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, "EEEE dd MMM, yyyy")</span> | ||
| 11 | + <span class="content__dateline-time">@Format(webPublicationDate, "E d MMM yy’")</span> | ||
| 12 | 12 | } else { | |
| 13 | - @Format(webPublicationDate, "EEEE d MMMM y") <span class="content__dateline-time">@AuFriendlyFormat(webPublicationDate)</span> | ||
| 13 | + @Format(webPublicationDate, "E d MMM yy’") <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, "EEEE d MMMM y") <span class="content__dateline-time">@AuFriendlyFormat(date)</span> | ||
| 25 | + @label @Format(date, "E d MMM yy’") <span class="content__dateline-time">@AuFriendlyFormat(date)</span> | ||
| 26 | 26 | </time> | |
| 27 | 27 | } | |
| 28 | 28 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments