Fix saving time in crud byuData

parent fd7add47
Pipeline #11699 failed with stages
in 22 minutes 10 seconds
package crud.data.form;
import crud.data.entity.Brand;
import play.data.format.Formats;
import play.data.validation.Constraints;
import javax.validation.constraints.Digits;
......@@ -27,6 +28,7 @@ public class CarForm {
@Digits(integer = 10, fraction = 2, message = "example.crud.car.price.error.message")
private BigDecimal price;
@Formats.DateTime(pattern = "yyyy-MM-dd HH:mm")
private Date buyDate;
public Long getId() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment