User tests: Successful: Unsuccessful:
This pull allow to use more flexible date modifiers in default value, like now +1 day
, now -10 years
and more http://php.net/manual/en/function.strtotime.php#refsect1-function.strtotime-examples
test
Try create/edit existing content, and make sure that all calendar fields works as was before patch.
Then try set some default value to the some calendar field, like default="now +1 day"
, default="now -10 years"
and make sure that the calendar display correct date
Labels |
Added:
?
|
travis is more complicated part
maybe this can help travis? @Fedik mbabker@23ec2d7
I wonder if that has to be a feature in core. The usecase is probably quite limited and it would be easy for an extension to extend that field and implement such advanced methods.
ok, test fixed.
and I added one more test case for now +1 year
, so i would count it as one successful tester
Category | ⇒ | Libraries |
Category | Libraries | ⇒ | Fields Libraries |
Would have been very useful for me this week
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-08 13:25:31 |
Closed_By | ⇒ | brianteeman |
Thank you for your suggestion but it has been decided that this is not something that will be included in the core of Joomla.
BTW:
Travis fails on this:
https://travis-ci.org/joomla/joomla-cms/jobs/45843122