Development

Changeset 28323

You must first sign up to be able to contribute.

Changeset 28323

Show
Ignore:
Timestamp:
02/28/10 22:42:17 (5 years ago)
Author:
hugo.hamon
Message:

[doc] fixed chapter 10 of Jobeet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.4/jobeet/en/10.markdown

    r28154 r28323  
    869869    { 
    870870<propel> 
    871       return floor(($this->getExpiresAt('U') - time()) / 86400); 
    872 </propel> 
    873 <doctrine> 
    874       return floor($this->getDateTimeObject('expires_at')->format('U') / 86400); 
     871      return ceil(($this->getExpiresAt('U') - time()) / 86400); 
     872</propel> 
     873<doctrine> 
     874      return ceil(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
    875875</doctrine> 
    876876    } 
  • doc/branches/1.4/jobeet/es/10.markdown

    r28154 r28323  
    727727    { 
    728728<propel> 
    729       return floor(($this->getExpiresAt('U') - time()) / 86400); 
    730 </propel> 
    731 <doctrine> 
    732       return floor($this->getDateTimeObject('expires_at')->format('U') / 86400); 
     729      return ceil(($this->getExpiresAt('U') - time()) / 86400); 
     730</propel> 
     731<doctrine> 
     732      return ceil(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
    733733</doctrine> 
    734734    } 
  • doc/branches/1.4/jobeet/fr/10.markdown

    r28181 r28323  
    869869    { 
    870870<propel> 
    871       return floor(($this->getExpiresAt('U') - time()) / 86400); 
    872 </propel> 
    873 <doctrine> 
    874       return floor($this->getDateTimeObject('expires_at')->format('U') / 86400); 
     871      return ceil(($this->getExpiresAt('U') - time()) / 86400); 
     872</propel> 
     873<doctrine> 
     874      return ceil(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
    875875</doctrine> 
    876876    } 
  • doc/branches/1.4/jobeet/it/10.markdown

    r28154 r28323  
    829829    public function getDaysBeforeExpires() 
    830830    { 
    831       return floor($this->getDateTimeObject('expires_at')->format('U') / 86400); 
     831<propel> 
     832      return ceil(($this->getExpiresAt('U') - time()) / 86400); 
     833</propel> 
     834<doctrine> 
     835      return ceil(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
     836</doctrine> 
    832837    } 
    833838 
  • doc/branches/1.4/jobeet/ja/10.markdown

    r28154 r28323  
    731731    { 
    732732<propel> 
    733       return floor(($this->getExpiresAt('U') - time()) / 86400); 
    734 </propel> 
    735 <doctrine> 
    736      return floor($this->getDateTimeObject('expires_at')->format('U') / 86400); 
     733      return ceil(($this->getExpiresAt('U') - time()) / 86400); 
     734</propel> 
     735<doctrine> 
     736      return ceil(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
    737737</doctrine> 
    738738    } 
  • doc/branches/1.4/jobeet/ru/10.markdown

    r28154 r28323  
    867867    { 
    868868<propel> 
    869       return floor(($this->getExpiresAt('U') - time()) / 86400); 
    870 </propel> 
    871 <doctrine> 
    872       return floor(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
     869      return ceil(($this->getExpiresAt('U') - time()) / 86400); 
     870</propel> 
     871<doctrine> 
     872      return ceil(($this->getDateTimeObject('expires_at')->format('U') - time()) / 86400); 
    873873</doctrine> 
    874874    }