Differences

This shows you the differences between the selected revision and the current version of the page.

coretag 2007/08/31 21:16 coretag 2007/11/16 22:20 current
Line 129: Line 129:
      string default optional - the default value to use in the event of an empty value       string default optional - the default value to use in the event of an empty value
      string var optional - the variable to store the output in       string var optional - the variable to store the output in
-      string format optional - a format option, currently only "money" is supported+      string format optional - format options, 
 +                      "money"   => formats as us money, 
 +                      "boolean"  => formats as Yes or No (since v1.1) 
 +                      "date:xxx" => formats as date, where xxx is the format string used by php's date() function (since v1.1)
      <c:out value = "${user.city}" default = "Alexandria" />       <c:out value = "${user.city}" default = "Alexandria" />
      <c:out value = "${user.price}" format = "money" />       <c:out value = "${user.price}" format = "money" />
 +      <c:out value = "${user.lastUnixTime}" format = "date:Y-m-d H:i:s" />
</code> </code>
 
coretag.txt · Last modified: 2007/11/16 22:20 by 71.163.145.226
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki