Changes between Version 242 and Version 243 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
08/23/08 08:02:01 (7 years ago)
Author:
russellm
Comment:

Added note on changes to timesince in [8481]

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v242 v243  
    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 
     83 * [8481] Aug 23, 2008 [#Correctedresultsreturnedbytimesincetemplatefilters Corrected results returned by timesince template filters]
    8484== Changed 'spaceless' template tag to remove all spaces ==
    8585
     
    12811281        print key, v
    12821282}}}
     1283
     1284== Corrected results returned by timesince template filters ==
     1285
     1286Previous 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
     1288The 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.
     1289
Back to Top