-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date in grid #612
Comments
From bento.vi...@gmail.com on May 21, 2010 15:45:09 Format your date like this: $grid->updateColumn('date',array('format'=>array('date',array('date_format'=>"d-MM-Y")))); Check this page for more available formats: About date filter: Do you get any errors? This live example is working: Best Regards, |
From tho...@valepizza.com on May 21, 2010 15:53:29 |
From tho...@valepizza.com on May 21, 2010 15:58:20 |
From tho...@valepizza.com on May 21, 2010 16:02:33 |
From bento.vi...@gmail.com on May 21, 2010 16:05:10 Paste this code after calling $grid->deploy() and mail me the result if you don't echo $grid->getSource()->getSelectObject();die(); Best Regards, |
From tho...@valepizza.com on May 21, 2010 17:43:04 |
From bento.vi...@gmail.com on May 21, 2010 18:43:20 It's the DB format. You need to do something like this: $date = $grid->getForm()->getElement()->getValue(); Best Regards, |
From tho...@valepizza.com on May 21, 2010 19:09:10 |
From bento.vi...@gmail.com on May 23, 2010 18:19:40 About comment #10. Fixed. Best Regards, |
Original author: tho...@valepizza.com (May 21, 2010 15:21:31)
The date in grid are showing like timestamp.
When i use date in another format like pt_BR, the filter dont work
ZF 1.1
Rev: 1181
Original issue: http://code.google.com/p/zfdatagrid/issues/detail?id=289
The text was updated successfully, but these errors were encountered: