internetarchive / internetarchive/openlibrary

Allow xxxx in date field when adding new edition

Open
#5,254 13 comments 0 reactions 1 assignee Claimed by @ClementineAccount View on GitHub
Affects: Librarians Editions Lead: @scottbarnes Priority: 2 Theme: Editing Type: Bug
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

If an edition has no date, Xs may be used as placeholders according to our documentation regarding publication dates. However, when adding a new edition, only numbers are allowed.

### Evidence / Screenshot (if possible)
Screenshot 2021-06-01 at 19 40 04
### Relevant url?

### Steps to Reproduce

1. Go to ...https://openlibrary.org/books/add
2. Do ...use Xs in date field

* Actual: Error
* Expected: Xs allowed

### Details

- **Logged in (Y/N)?** Y
- **Browser type/version?** Version 91.0.4472.77 (Official Build) (x86_64)
- **Operating system?** MacOS Big Sur
- **Environment (prod/dev/local)?** prod

### Proposal & Constraints

### Related files

### Stakeholders

@cdrini

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.