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

Add more date format #1664

Merged
merged 3 commits into from
Nov 4, 2022
Merged

Add more date format #1664

merged 3 commits into from
Nov 4, 2022

Conversation

jennyliang220
Copy link
Contributor

@jennyliang220 jennyliang220 commented Nov 2, 2022

Allow more date formats, previously only the 1st is allowed.

Screen Shot 2022-11-02 at 11 26 06 AM

Closes #1656 , closes #1649

The test would fail because 'joint publication' is using groupid: 35422 and the charter expired on 2022-10-31. Need to change the nock mock data.

lib/rules.json Outdated Show resolved Hide resolved
Co-authored-by: Denis Ah-Kang <[email protected]>
@deniak deniak merged commit e0b99c8 into main Nov 4, 2022
@deniak deniak deleted the 1656_date branch November 4, 2022 05:38
deniak added a commit that referenced this pull request Nov 7, 2022
* remove unused variable, resolves #1646

* add test for WD and FPWD regarding shortname

* Update lib/l10n-en_GB.js

Co-authored-by: Denis Ah-Kang <[email protected]>

* Update lib/l10n-en_GB.js

Co-authored-by: Denis Ah-Kang <[email protected]>

* chore(deps): bump puppeteer from 18.0.5 to 18.2.1

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 18.0.5 to 18.2.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@v18.0.5...puppeteer-core-v18.2.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps-dev): bump eslint from 8.24.0 to 8.25.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.24.0...v8.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* move shortname check to dl.js

* improve function isFP(), resolves #1647

* fix test

* remove Supersedes and Obsoletes check

* fix test

* fix test

* fix test

* chore(deps-dev): bump mocha from 10.0.0 to 10.1.0

Bumps [mocha](https://github.com/mochajs/mocha) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps): bump puppeteer from 18.2.1 to 19.0.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-core-v18.2.1...puppeteer-core-v19.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update lib/validator.js

Co-authored-by: Denis Ah-Kang <[email protected]>

* Update lib/rules/headers/w3c-state.js

* chore(deps): bump puppeteer from 19.0.0 to 19.1.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 19.0.0 to 19.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-core-v19.0.0...puppeteer-core-v19.1.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps-dev): bump eslint from 8.25.0 to 8.26.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.25.0...v8.26.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* apply suggestion

* chore(deps): bump puppeteer from 19.1.0 to 19.2.0

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 19.1.0 to 19.2.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-core-v19.1.0...puppeteer-core-v19.2.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps): bump promise from 8.2.0 to 8.3.0

Bumps [promise](https://github.com/then/promise) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/then/promise/releases)
- [Commits](then/promise@8.2.0...8.3.0)

---
updated-dependencies:
- dependency-name: promise
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(deps-dev): bump eslint-plugin-jsdoc from 39.3.2 to 39.4.0

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.2 to 39.4.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](gajus/eslint-plugin-jsdoc@v39.3.2...v39.4.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* move error msg in l10n-en_GB

* move shortname check to shortname.js

* fix test

* fix nock charter date, fix test

* Add more date format (#1664)

* add date formats

* fix test

* Update lib/rules.json

Co-authored-by: Denis Ah-Kang <[email protected]>

Co-authored-by: Denis Ah-Kang <[email protected]>

* remove unused variable, resolves #1646

* add test for WD and FPWD regarding shortname

* Update lib/l10n-en_GB.js

Co-authored-by: Denis Ah-Kang <[email protected]>

* Update lib/l10n-en_GB.js

Co-authored-by: Denis Ah-Kang <[email protected]>

* move shortname check to dl.js

* improve function isFP(), resolves #1647

* fix test

* remove Supersedes and Obsoletes check

* fix test

* fix test

* fix test

* Update lib/validator.js

Co-authored-by: Denis Ah-Kang <[email protected]>

* Update lib/rules/headers/w3c-state.js

* apply suggestion

* move error msg in l10n-en_GB

* move shortname check to shortname.js

* fix test

* fix nock charter date, fix test

* fix test

* fix test

* fix test

* apply suggestion

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Denis Ah-Kang <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants