PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject_FormBuilder » Bug #7951

Year Date problem

Details

Submitted2006-06-20 20:06 UTC
Fromjon dot bertsch at ucop dot edu
Assignedjustinpatrin
StatusBogus
PackageDB_DataObject_FormBuilder
PHP Version5.1.4
OSSUSE9.2
Roadmaps(Not assigned)

Comments

[2006-06-20 20:06 UTC] jon dot bertsch at ucop dot edu

Description:
------------
Date in the database is 1996-06-01 (MySQL).

When the record is shown using the formbuilder package the
year is not recognised when I use toHTML(). It just shows
06-01-. If I change the year to 2001 it works fine. The same
thing happens when I try to use the edit features with getForm
(), the day and month work but not the year.

I couldn't find any way to expand the year date range, it
currently only shows 2001 - 2010 if I create a drop-down.

I can't tell if this is a bug in Formbuilder or higher up the
chain.

Expected result:
----------------
Ability to view 06-01-1996

Actual result:
--------------
06-01-