[web2py] Current date/time for datetime field (time is wrong)
Hello, I love the calendar that pops up in the 'datetime' field with a time/date selector. However, when my customers use it their time is always off. Is there a way to prepopulate the field with the current time, or make a button for them to click which will take their local system time? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Current date/time for datetime field (time is wrong)
El Tue, 15 Apr 2014 10:13:26 -0700 (PDT) LoveWeb2py atayloru...@gmail.com escribió: Hello, I love the calendar that pops up in the 'datetime' field with a time/date selector. However, when my customers use it their time is always off. Is there a way to prepopulate the field with the current time, or make a button for them to click which will take their local system time? set default=request.now in the table definition Marco. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Current date/time for datetime field (time is wrong)
Perfect. Thank you! On Tue, Apr 15, 2014 at 1:04 PM, Marco Mansilla thebigsho...@gmail.comwrote: El Tue, 15 Apr 2014 10:13:26 -0700 (PDT) LoveWeb2py atayloru...@gmail.com escribió: Hello, I love the calendar that pops up in the 'datetime' field with a time/date selector. However, when my customers use it their time is always off. Is there a way to prepopulate the field with the current time, or make a button for them to click which will take their local system time? set default=request.now in the table definition Marco. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/-d2AJBX_1ns/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.