PDA

View Full Version : [ADDED] [V0.8] TimeField i18n



Justin_Wignall
Mar 18, 2009, 3:15 PM
I know you are working on this one still but just wanted to point out the following changes I've made to TimeField.cs in order to enable international date formats.

1. Use System.Threading.Thread.CurrentThread.CurrentCultu re as you do in DateField.cs

2. Set default time format to "t" on the 'Format' getter

geoffrey.mcgill
Apr 22, 2009, 5:30 AM
Hi Justin,

Thanks for the suggestions.

I've modified the default value of the <ext:TimeField>'s .Format property to now be "t". The .Format property will now automatically pick up the CurrentCultures ShortTimeFormat and render the list items accordingly.

All other functionality remains unchanged.

This new code has been committed to SVN and will be publicly available with the v0.8 release.

I apologize for the delay in implementing this change.

Hope this helps.

Satyanarayana murthy
Apr 23, 2009, 2:51 AM
Hi ,

I am using coolite 1.0 and trying to use <ext:TimeField> but tag is not allows tom use.

plz suggest on this.

thanks.
satya