OpenHistoricalMap/issues

Date filter in iD should prefer EDTF dates over basic dates

Open

#671 opened on Jan 7, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees) (2 forks)auto 404
datesgood first issueiD

Repository metrics

Stars
 (31 stars)
PR merge metrics
 (PR metrics pending)

Description

Now that OpenHistoricalMap/iD#187 has added an EDTF date field and validator, the user might expect the date filter to filter features based on the EDTF dates when available. This would make it easier to edit in areas without many certain dates.

The edtf.js library we’re using can return the minimum and maximum possible dates of an EDTF date, optionally with the same precision as the input.

This filtering would be inconsistent with the renderer until we implement similar EDTF-based filtering in the tile generator: #15.

Contributor guide