I cannot get dd/mm/yy to be the default date formats for a datanav based 
application.

Changing dateFormat in settings.py to "european" (Note: "European" 
indicated in file is not recognized) will cause dDateTextBox's to 
display the correct format.  Unfortunately as this setting is only 
recognized by dDateTextBox's the interaction between browse grids and 
edit forms fails and the grid is no longer sortable by date.

There are also then errors as the date is converted to/from a string in 
the dDateTextBox.

It appears to me that:

1) formatted text boxes should be able to get the underlying data value, 
and that this method should be used by the framework

2) formatted text boxes and data grids should work off the same global 
format setting


On a broader front what would be really good would be if named formats 
could be assigned to grid columns and text boxes, with a global 
dictionary of formatters to handle each named format.  This would 
provide a single point in the application to change the whole UI from 
one locale to another - much easier than using masked edit boxes which 
have to be changed one by one.

regards,
Richard Appleton



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to