r1 - 27 Dec 2005 - 09:29:58 - SooGuanYou are here: TWiki >  Main Web  >  ElixirEnsemble > ElixirEnsembleCookbook > Date

Dynamic Parameter Date UI

The dynamic parameter syntax #{label,type,default} now supports date as a choice. The allowed syntax for the type component is:

date         // system locale, long format
date()       // system locale, long format

date(fr)     // french locale, long format
date(fr_CA)  // french-canadian locale, long format
date(fr_CA_qu) // french canadian in quebec (made this up), long format

date(,"long")   // system locale, long format
date(,"medium") // system locale, medium format
date(,"short")  // system locale, short format
date(,"(yyyy) MM/dd"); // system locale, custom format

combining the two:

date(fr,"short") // french locale, short format

etc. All combinations should work.

-- SooGuan - 27 Dec 2005

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback