---
title: "eclipse 注释时间格式"
author: "xxtianxiaxing"
date: "2014-04-29T09:47:34Z"
tags: []
categories: ["开源软件"]
slug: "eclipse"
draft: false
lastmod: "2014-04-29T09:47:34Z"
id: 2056713
url: "https://xylonwang.iteye.com/blog/2056713"
---

默认的时间格式为：

        @date Apr 29, 2014

期望的时间格式为：

        @date 2014-4-29

 

解决方法：

在eclipse.ini的配置文件中加入-Duser.language=zh-cn 或是将-Duser.language=en 改为-Duser.language=zh-cn

 

参考：

http://www.cnblogs.com/hoojo/archive/2011/03/21/1990070.html