mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-24 01:09:48 +01:00
fix review findings
This commit is contained in:
@@ -37,6 +37,7 @@ public class XmlUTCDateAdapter extends XmlAdapter<String, Date> {
|
||||
|
||||
@Override
|
||||
public String marshal(Date date) {
|
||||
return date.toString();
|
||||
SimpleDateFormat formatter = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz");
|
||||
return formatter.format(date);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user