Changes between Initial Version and Version 3 of Ticket #31623
- Timestamp:
- May 24, 2020, 9:19:42 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31623
- Property Owner changed from to
- Property Status new → assigned
- Property Triage Stage Unreviewed → Accepted
-
Ticket #31623 – Description
initial v3 1 The timesince function is a bit limiting as it is right now. A `depth` parameter should be added to configure how many values are shown. The depth parameter should be defaulted to 2 as this is how the current implementation behaves. The existing rule of values having to be adjacent to one another should still remain.1 Discussed [https://groups.google.com/forum/#!topic/django-developers/pEaX5X-wpWo here]. The timesince function is a bit limiting as it is right now. A `depth` parameter should be added to configure how many values are shown. The depth parameter should be defaulted to 2 as this is how the current implementation behaves. The existing rule of values having to be adjacent to one another should still remain. 2 2 3 3 The logic for calculating the time since, before formatting should also be pulled out of the function and placed in its own so that custom implementations can be created.