-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better date displays - processing level display (#2801)
This PR improves the rendering of some dates and time ranges, updates the processing level (minor/major) text and fixes some minor wording issues. This is related to #2755 and fixes these points: * [x] Instead of mentioning Twitter (in "How to cite this data"), we should say "social media". * [x] We should not say "OWID" anywhere (as it happens in "How to cite this data"). * [x] We should show the date of next expected update. This should be based on `dataset.update_period_days` and the current date (if it's passed, increase it by a month). * [x] Change the wording of "processed" or "adapated" by under the chart to "with minor/major processing by Our World In Data" * [x] If the time range for an indicator includes negative years (like our long run population data does), then show `10000 BC to 2020 AD` instead of `-10000-2020` * [x] Last updated date should render as a formatted date instead of a raw date string
- Loading branch information
Showing
2 changed files
with
69 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters