Summary | Date display in Edit error |
Queue | Turba |
Queue Version | 2.0-RC2 |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | |
Requester | horde (at) sadeghi (dot) co (dot) uk |
Created | 12/01/2004 (7527 days ago) |
Due | |
Updated | 12/01/2004 (7527 days ago) |
Assigned | 12/01/2004 (7527 days ago) |
Resolved | 12/01/2004 (7527 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Fixed in CVS, framework/Form/Form.php.
full two digits for month, the select field does not match 1 to 9. I
padded the digits and it now works , but probably it has problems with
single digit months:
function _renderVarInput_monthdayyear(&$form, &$var, &$vars)
{
$dates = array();
$dates['month'] = array('' => _("MM"),
'01' => _("January"),
'02' => _("February"),
'03' => _("March"),
'04' => _("April"),
'05' => _("May"),
'06' => _("June"),
'07' => _("July"),
'08' => _("August"),
'09' => _("September"),
'10' => _("October"),
'11' => _("November"),
'12' => _("December"));
$dates['day'] = array('' => _("DD"));
display the dates. Dates are coming from mysql and are in correct
format of YYYY-MM-DD
Hamid
State ⇒ Feedback
the backend stored into a date field.
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Date display in Edit error
Queue ⇒ Turba
dow not display the month, day and year seems to be fine.
This was previously working from two weeks ago. I am running the following
Horde Version
Horde: 3.0-cvs
Horde Applications
Gollem: 1.0-cvs (run Gollem tests)
Hermes: 0.1-cvs
Horde: 3.0-cvs
Imp: 4.0-cvs (run Imp tests)
Kronolith: 2.0-cvs
Mnemo: 2.0-cvs
Nag: 2.0-cvs
Passwd: 3.0-cvs
Turba: 2.0-cvs (run Turba tests)
PHP Version
View phpinfo() screen
View loaded extensions
PHP Version: 4.3.8
PHP Major Version: 4.3
PHP Minor Version: 8
PHP Version Classification: release
You are running a supported version of PHP.