Skip to content
Snippets Groups Projects
Commit 45da5a4d authored by Oscar Utbult's avatar Oscar Utbult Committed by Dave Syer
Browse files

Fix date formatting

parent 5b0f037d
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ public class Pet extends NamedEntity {
@Column(name = "birth_date")
@Temporal(TemporalType.DATE)
@DateTimeFormat(pattern = "yyyy/MM/dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date birthDate;
@ManyToOne
......
......@@ -39,7 +39,7 @@ public class Visit extends BaseEntity {
@Column(name = "visit_date")
@Temporal(TemporalType.TIMESTAMP)
@DateTimeFormat(pattern = "yyyy/MM/dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date date;
@NotEmpty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment