diff --git a/src/main/java/com/example/cosmos_serversb/entities/Request.java b/src/main/java/com/example/cosmos_serversb/entities/Request.java index dc99cc5..a2a9a1a 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Request.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Request.java @@ -9,9 +9,11 @@ public class Request { private String rId; private String uri, IssuerUid, product; - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Tokyo") + //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Tokyo") + @JsonFormat(timezone = "Asia/Tokyo") private Date date; - @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Tokyo") + //@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Tokyo") + @JsonFormat(timezone = "Asia/Tokyo") private Date deadline; private int location;// YahooローカルサーチAPIの業種コード private boolean done = false;