heyile commented on issue #1166: 日期类型怎么自定义转换格式?
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1166#issuecomment-479450683
 
 
   @myVictor  可以在启动 main 方法里面设置.
   ```
     public static void main(String[] args) throws Exception {
       
       // 全局设置时间解析格式
       RestObjectMapperFactory.getRestObjectMapper().setDateFormat(new 
SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
   
     }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to