time format

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

time format

Postby lesouef » Mon Feb 15, 2010 4:44 pm

When using a time mask, it works when typing directly in the field, not when using the calendar.
For instance, if you don't require typing ":" to split hh and mm in the mask, you still need to do it in the calendar.
I also find handling times a bit hairy as we only have datetime fields behind the scene. So I use integers or nubers instead, but using a time format on them does not work.
Could we think of applying a time mask on a number/integer to allow duration entries displayed like time?
For instance, entering 02:30 would in fact enter 150mn or 9000s.
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: time format

Postby jcompagner » Mon Feb 15, 2010 5:50 pm

make a case for it for using also a mask in the Calendar time field of the popup.

if you want 2:30 to be 9000s in the database then you have to use converters on those fields.
then you can do what ever you want.
Johan Compagner
User avatar
Posts: 8284
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests