Author: hugo.hamon
Date: 2010-02-28 22:42:17 +0100 (Sun, 28 Feb 2010)
New Revision: 28323
Modified:
doc/branches/1.4/jobeet/en/10.markdown
doc/branches/1.4/jobeet/es/10.markdown
doc/branches/1.4/jobeet/fr/10.markdown
doc/branches/1.4/jobeet/it/10.markdown
doc/branches/1.4/jobeet/ja/10.markdown
doc/branches/1.4/jobeet/ru/10.markdown
Log:
[doc]?\194?\160fixed chapter 10 of Jobeet
Modified: doc/branches/1.4/jobeet/en/10.markdown
===================================================================
--- doc/branches/1.4/jobeet/en/10.markdown 2010-02-28 14:01:58 UTC (rev
28322)
+++ doc/branches/1.4/jobeet/en/10.markdown 2010-02-28 21:42:17 UTC (rev
28323)
@@ -868,10 +868,10 @@
public function getDaysBeforeExpires()
{
<propel>
- return floor(($this->getExpiresAt('U') - time()) / 86400);
+ return ceil(($this->getExpiresAt('U') - time()) / 86400);
</propel>
<doctrine>
- return floor($this->getDateTimeObject('expires_at')->format('U') /
86400);
+ return ceil(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
</doctrine>
}
Modified: doc/branches/1.4/jobeet/es/10.markdown
===================================================================
--- doc/branches/1.4/jobeet/es/10.markdown 2010-02-28 14:01:58 UTC (rev
28322)
+++ doc/branches/1.4/jobeet/es/10.markdown 2010-02-28 21:42:17 UTC (rev
28323)
@@ -726,10 +726,10 @@
public function getDaysBeforeExpires()
{
<propel>
- return floor(($this->getExpiresAt('U') - time()) / 86400);
+ return ceil(($this->getExpiresAt('U') - time()) / 86400);
</propel>
<doctrine>
- return floor($this->getDateTimeObject('expires_at')->format('U') /
86400);
+ return ceil(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
</doctrine>
}
Modified: doc/branches/1.4/jobeet/fr/10.markdown
===================================================================
--- doc/branches/1.4/jobeet/fr/10.markdown 2010-02-28 14:01:58 UTC (rev
28322)
+++ doc/branches/1.4/jobeet/fr/10.markdown 2010-02-28 21:42:17 UTC (rev
28323)
@@ -868,10 +868,10 @@
public function getDaysBeforeExpires()
{
<propel>
- return floor(($this->getExpiresAt('U') - time()) / 86400);
+ return ceil(($this->getExpiresAt('U') - time()) / 86400);
</propel>
<doctrine>
- return floor($this->getDateTimeObject('expires_at')->format('U') /
86400);
+ return ceil(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
</doctrine>
}
Modified: doc/branches/1.4/jobeet/it/10.markdown
===================================================================
--- doc/branches/1.4/jobeet/it/10.markdown 2010-02-28 14:01:58 UTC (rev
28322)
+++ doc/branches/1.4/jobeet/it/10.markdown 2010-02-28 21:42:17 UTC (rev
28323)
@@ -828,7 +828,12 @@
public function getDaysBeforeExpires()
{
- return floor($this->getDateTimeObject('expires_at')->format('U') /
86400);
+<propel>
+ return ceil(($this->getExpiresAt('U') - time()) / 86400);
+</propel>
+<doctrine>
+ return ceil(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
+</doctrine>
}
La barra di amministrazione mostra le diverse azioni, a seconda
Modified: doc/branches/1.4/jobeet/ja/10.markdown
===================================================================
--- doc/branches/1.4/jobeet/ja/10.markdown 2010-02-28 14:01:58 UTC (rev
28322)
+++ doc/branches/1.4/jobeet/ja/10.markdown 2010-02-28 21:42:17 UTC (rev
28323)
@@ -730,10 +730,10 @@
public function getDaysBeforeExpires()
{
<propel>
- return floor(($this->getExpiresAt('U') - time()) / 86400);
+ return ceil(($this->getExpiresAt('U') - time()) / 86400);
</propel>
<doctrine>
- return floor($this->getDateTimeObject('expires_at')->format('U') / 86400);
+ return ceil(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
</doctrine>
}
Modified: doc/branches/1.4/jobeet/ru/10.markdown
===================================================================
--- doc/branches/1.4/jobeet/ru/10.markdown 2010-02-28 14:01:58 UTC (rev
28322)
+++ doc/branches/1.4/jobeet/ru/10.markdown 2010-02-28 21:42:17 UTC (rev
28323)
@@ -866,10 +866,10 @@
public function getDaysBeforeExpires()
{
<propel>
- return floor(($this->getExpiresAt('U') - time()) / 86400);
+ return ceil(($this->getExpiresAt('U') - time()) / 86400);
</propel>
<doctrine>
- return floor(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
+ return ceil(($this->getDateTimeObject('expires_at')->format('U') -
time()) / 86400);
</doctrine>
}
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.