Skip to content

Fix date name formatting 1+ years in the future

Chris Oelmueller requested to merge bugfix/850-date-format into master

Closes #850 (closed)

What does this MR do?

Adjust how time-formatting displays dates more than 1 year in the future, and slightly adjusts the shorter version to be more consistent.

How confident are you it won't break things if deployed?

100%.

How to test

  1. Create pickup date more than 1 year in the future
  2. Check how the date is displayed in the sidebar
  3. Cross-check the date of forum posts on the dashboard, which use the more compact display format that was slightly modified too.

Screenshots (if applicable)

image

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Chris Oelmueller

Merge request reports