The validator only controls how the date is input and displayed in forms, 
not when you are simply referring to the field in the Row object.

Anthony

On Saturday, June 23, 2012 6:02:42 PM UTC-4, ctrlSoft wrote:
>
> hi, my datetime field  format is
> Field('deadline','datetime', requires=IS_DATETIME(format=('%d-%m-%Y 
> %H:%M:%S')),  label=T('Deadline')),
>
>  but in view  row.deadline is displayed in this format 2012-06-27 
> 11:00:00  
> and in exported csv the same. 
> how do i set datetime format that is displayed in view.
>

-- 



Reply via email to