HTML::FormFu::ExtJS::Element::Date
version 0.090
dateFormat (http://extjs.com/deploy/dev/docs/?class=Ext.form.DateField) is set to Y-m-d. This is the internal representation of a date and this value will be send to the server on submit.
dateFormat
Y-m-d
strftime is set to %Y-%m-%d, which is %F the ISO 8601 date format. This is the format for default values.
strftime
%Y-%m-%d
%F
By default the localozation of ExtJS will do the job and transform this internal value to a more readable version depending on your locale.
To change the format of the date object specify $element->attrs->{dateFormat}. The date parsing and format syntax is a subset of PHP's date() function. See http://extjs.com/deploy/dev/docs/?class=Date for details. It defaults to Y-m-d (which is the same as Perl's %Y-%m-%d).
$element->attrs->{dateFormat}
HTML::FormFu::ExtJS::Element::Date - Date element
HTML::FormFu::Element::Date
Copyright 2008 Moritz Onken, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Moritz Onken <onken@netcubed.de>
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License
To install HTML::FormFu::ExtJS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormFu::ExtJS
CPAN shell
perl -MCPAN -e shell install HTML::FormFu::ExtJS
For more information on module installation, please visit the detailed CPAN module installation guide.