Changes between Version 244 and Version 245 of BackwardsIncompatibleChanges
- Timestamp:
- Aug 23, 2008, 8:04:20 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v244 v245 1284 1284 == Corrected results returned by timesince template filters == 1285 1285 1286 Previous to [8481], if an optional argument was used with the timesince filter to specify a baseline date for comparison, the results returned by the timesince filter would act the same as the timeuntil filter. For example, ` `{{ tomorrow|timesince:today }}`` would return "1 day", rather than "0 minutes".1286 Previous to [8481], if an optional argument was used with the timesince filter to specify a baseline date for comparison, the results returned by the timesince filter would act the same as the timeuntil filter. For example, `{{ tomorrow|timesince:today }}` would return "1 day", rather than "0 minutes". 1287 1287 1288 1288 The documentation for the template tag has always been correct; [8481] corrects the implementation to match the documentation. However, since it is possible that users may be relying upon the incorrect behaviour, it could pose problems for backwards compatibility.