Regarding of the calendar.

How i can use calendar with today in format day-month-year?

hoy=time.time()
desde=time.strftime('%d-%m-%Y 00:00:00',time.localtime(hoy))


INPUT(_type="datetime",_name="desde",_value=hoy,_class='datetime',_id="datetlimite",
 requires=IS_DATETIME()))

if i use this format the calendar show 30 of January 2016.

If i use format year-month-day the calendar show today fine:10 August 2009.

Is possible i can use format day-month-year with Calendar?

Fernando




      

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to