Changes between Version 246 and Version 247 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Aug 25, 2008, 7:36:29 AM (16 years ago)
Author:
Russell Keith-Magee
Comment:

Added notes on changes to timesince in [8535].

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v246 v247  
    8181 * [8348] Aug 14, 2008 [#RemovedvalidatemethodsforModelandModelfieldclasses Removed validate methods for Model and Model field classes]
    8282 * [8399] Aug 15, 2008 [#CorrectedMultiValueDict.iteritemstoreturnitemsratherthanlists Corrected MultiValueDict.iteritems to return items rather than lists]
     83 * [8535] Aug 25, 2008 [#Correctedresultsreturnedbytimesincetemplatefilters Corrected results returned by timesince template filters]
     84
    8385== Changed 'spaceless' template tag to remove all spaces ==
    8486
     
    12801282        print key, v
    12811283}}}
     1284
     1285== Corrected results returned by timesince template filters ==
     1286
     1287Previous to [8535], 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".                 
     1288
     1289The documentation for the template tag has always been correct; [8535] 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.
     1290
     1291This change was also present from [8481]-[8482]; however, it was temporarily reverted in [8483] while a design issue was resolved.
     1292
Back to Top