pike.git / lib / modules / Calendar.pmod / CHANGES

version» Context lines:

pike.git/lib/modules/Calendar.pmod/CHANGES:1:   Calendar -> Calendar II   changes and backwards issues   ================================================================    + Using Calendar I or detecting Calendar II presence: +  + Pike 7.1 and Calendar II adds the Calendar.II constant. + It could be used as this, to always use the old Calendar I, + which is kept under the Calendar_I module identifier: +  +  #if constant(Calendar.II) +  #define Calendar Calendar_I +  #endif +  +  ... Calendar ... +  + ================================================================ +    a-b => b->range(a)/a       a-b does no longer give the number of a's between a and b.    Correct use to get the number of something in a time period    is to create the period using       b->range(a)    or, depending on context    b->distance(a)