---
title: "structs格式化时间"
author: "freesky1002"
date: "2007-11-23T11:19:10Z"
tags: []
slug: "structs"
draft: false
lastmod: "2007-11-23T11:19:10Z"
id: 142992
url: "https://freesky1002.iteye.com/blog/142992"
---

把

xml 代码

1. format.date = {0,date,MM/dd/yyyy}
2. format.time = {0,date,MM/dd/yyyy ha}
3. format.percent = {0,number,##0.00'%'}
4. format.currency = {0,number,$##0.00}

加入 ApplicationResources\*.properties  中

   
s:text name="format.date"   
    s:param value="person.birthDate"