Active
Project:
Duration
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2009 at 19:06 UTC
Updated:
12 Jun 2009 at 19:06 UTC
Hello.
I can't preset duration value with php code.
The hint in the interface says:
return array(
0 => array('iso8601' => value for iso8601, 'approx_seconds' => value for approx_seconds),
// You'll usually want to stop here. Provide more values
// if you want your 'default value' to be multi-valued:
1 => array('iso8601' => value for iso8601, 'approx_seconds' => value for approx_seconds),
2 => ...
);
And it does not work.
How would a proper array look to preset the value?