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

fix tests for 2024 #1801

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion test/doc-views/TR/Registry/CRY.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
...good,
header: {
...good.header,
defaultDate: '04 November 2024',
defaultDate: '04 November 2025',
},
},
multipleDateFound: {
Expand Down
6 changes: 3 additions & 3 deletions test/doc-views/TR/TRBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function buildCommonViewData(base) {
...base.copyright,
showDefault: false,
exceptionHtml:
'<a href="https://www.w3.org/policies/#copyright">Copyright</a> © 1999-2023 <a href="https://www.idpf.org">International Digital Publishing Forum</a> and <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a rel="license" href="https://www.w3.org/copyright/software-license-2023/" title="W3C Software and Document Notice and License">permissive document license</a> rules apply.',
'<a href="https://www.w3.org/policies/#copyright">Copyright</a> © 1999-2024 <a href="https://www.idpf.org">International Digital Publishing Forum</a> and <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a rel="license" href="https://www.w3.org/copyright/software-license-2023/" title="W3C Software and Document Notice and License">permissive document license</a> rules apply.',
},
},
copyrightExceptionNotFound: {
Expand All @@ -94,7 +94,7 @@ export function buildCommonViewData(base) {
...base.copyright,
showDefault: false,
exceptionHtml:
'<a href="https://www.w3.org/policies/#copyright">Copyright Exception Not Found</a> © 1999-2023 <a href="https://www.idpf.org">International Digital Publishing Forum</a> and <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a rel="license" href="https://www.w3.org/copyright/software-license-2023/" title="W3C Software and Document Notice and License">permissive document license</a> rules apply.',
'<a href="https://www.w3.org/policies/#copyright">Copyright Exception Not Found</a> © 1999-2024 <a href="https://www.idpf.org">International Digital Publishing Forum</a> and <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a rel="license" href="https://www.w3.org/copyright/software-license-2023/" title="W3C Software and Document Notice and License">permissive document license</a> rules apply.',
},
},
},
Expand Down Expand Up @@ -262,7 +262,7 @@ export function buildCandidateReviewEnd(base) {
...base,
sotd: {
...base.sotd,
defaultCRDate: '02 December 2024',
defaultCRDate: '02 October 2025',
},
},
};
Expand Down
6 changes: 3 additions & 3 deletions test/doc-views/layout/spec.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
{{#if dl.thisVersion.show}}
<dt>{{dl.thisVersion.text}}</dt>
<dd>
<a class="u-url" {{#if dl.thisVersion.showHref}}href="https://www.w3.org/{{dl.topLevel}}/{{#if config.isEchidna}}{{nowYear}}{{else}}2023{{/if}}/{{config.status}}-{{dl.shortName}}-{{! if document is Echidna, use current date. else, use default date}}{{#if config.isEchidna}}{{nowDigit8}}{{else}}20231104{{/if}}/"{{/if}}>
https://www.w3.org/{{dl.topLevel}}/{{#if config.isEchidna}}<span class="handlebars-data">{{nowYear}}</span>{{else}}2023{{/if}}/<span class="handlebars-data">{{config.status}}</span>-<span class="handlebars-data">{{dl.shortName}}</span>-{{! if document is Echidna, use current date. else, use default date}}{{#if config.isEchidna}}<span class="handlebars-data">{{nowDigit8}}</span>{{else}}20231104{{/if}}/
<a class="u-url" {{#if dl.thisVersion.showHref}}href="https://www.w3.org/{{dl.topLevel}}/{{#if config.isEchidna}}{{nowYear}}{{else}}2024{{/if}}/{{config.status}}-{{dl.shortName}}-{{! if document is Echidna, use current date. else, use default date}}{{#if config.isEchidna}}{{nowDigit8}}{{else}}20240804{{/if}}/"{{/if}}>
https://www.w3.org/{{dl.topLevel}}/{{#if config.isEchidna}}<span class="handlebars-data">{{nowYear}}</span>{{else}}2024{{/if}}/<span class="handlebars-data">{{config.status}}</span>-<span class="handlebars-data">{{dl.shortName}}</span>-{{! if document is Echidna, use current date. else, use default date}}{{#if config.isEchidna}}<span class="handlebars-data">{{nowDigit8}}</span>{{else}}20240804{{/if}}/
</a>
</dd>
{{/if}}
Expand Down Expand Up @@ -226,7 +226,7 @@

{{#config.isCRY}}
<p>
This Candidate Registry is not expected to advance to Registry any earlier than 6 June 2024.
This Candidate Registry is not expected to advance to Registry any earlier than 6 June 2025.
</p>
{{/config.isCRY}}

Expand Down
2 changes: 1 addition & 1 deletion test/doc-views/specBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const data = {
show: true,
text: 'More details about this document',
},
defaultDate: '04 November 2023',
defaultDate: '04 August 2024',
showDefaultDate: false,
},
secno: 'secno',
Expand Down
Loading