[turba] Problems with Birthday before 1970

Christian Mimberg Maumi at gmx.de
Thu Mar 22 11:08:24 UTC 2007


Hello Jan,

I use:

phpMyAdmin - 2.9.1.1
Database: SQL
Type of Field: Date

$attributes['birthday'] = array(
    'label' => _("Birthday"),
    'type' => 'monthdayyear',
    'params' => array(1900, null, true, '%Y-%m-%d'),    
    'required' => false,
);

Greets 

Christian


-------- Original-Nachricht --------
Datum: Thu, 22 Mar 2007 00:38:10 +0100
Von: Jan Schneider <jan at horde.org>
An: turba at lists.horde.org
Betreff: Re: [turba] Problems with Birthday before 1970

> Zitat von Christian Mimberg <Maumi at gmx.de>:
> 
> > Hello everybody,
> >
> > my System:
> >
> > PHP Version: 4.4.2
> > Horde: 3.1.4
> > Turba H3 2.1.4
> >
> > My Problem:
> >
> > I can not save a Birtday before 1970-01-01. If i try this, turba   
> > saves 1969-12-31. I set the param-string in attributes.php like this:
> >
> >  'params' => array(1900, null, true, '%Y-%m-%d'),
> 
> What's the 'type', which backend do you use, how did you setup the  
> birthday field in your backend etc.
> Works perfectly here btw.
> 
> Jan.
> 
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
> -- 
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out


More information about the turba mailing list