mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
hg annotation : try to fix wrong date parsing
This commit is contained in:
@@ -78,7 +78,7 @@ public class HgAnnotateCommand {
|
||||
String user = matcher.group(USER_GROUP);
|
||||
HgRevisionNumber rev = HgRevisionNumber.getInstance(matcher.group(REVISION_GROUP), matcher.group(CHANGESET_GROUP));
|
||||
String dateGroup = matcher.group(DATE_GROUP);
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM d HH:mm:ss yyyy Z");
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy Z");
|
||||
String date = "";
|
||||
try {
|
||||
date = DateFormatUtil.formatPrettyDate(dateFormat.parse(dateGroup));
|
||||
|
||||
Reference in New Issue
Block a user