当前位置:网站首页>[bug] @jsonformat has a problem that the date is less than one day when it is used
[bug] @jsonformat has a problem that the date is less than one day when it is used
2022-06-24 09:14:00 【Duxiaolie】
Problem description :
Date data obtained from the front page , There is a problem of reducing one date .
Controller layer Data during commissioning : 
postman Received data : 
Cause analysis :
There was a problem returning .
The type of database storage is :date
Solution :
Use @JsonFormat Time zone needs to be specified [email protected](timezone = “GMT+8”, pattern = “yyyy-MM-dd”)
边栏推荐
- 2021-05-20computed and watch applications and differences
- Huawei Router: GRE Technology
- uniapp 开发多端项目如何配置环境变量以及区分环境打包
- "I can't understand Sudoku, so I choose to play Sudoku."
- 【输入法】迄今为止,居然有这么多汉字输入法!
- leetcode——错误的集合
- threejs辉光通道01(UnrealBloomPass && layers)
- 支持向量机(SVC,NuSVC,LinearSVC)
- 1844. replace all numbers with characters
- 深入解析 Apache BookKeeper 系列:第三篇——读取原理
猜你喜欢

Ordinary people have no education background. Can they earn more than 10000 yuan a month by Self-taught programming?

Numpy numpy中的np.c_和np.r_详解

嵌入式 | 硬件转软件的几条建议
![[Niuke] convert string to integer](/img/56/3e491b3d0eea0d89a04d0b871501d7.png)
[Niuke] convert string to integer

Leetcode -- wrong set

2022-06-23: given a nonnegative array, select any number to make the maximum cumulative sum a multiple of 7, and return the maximum cumulative sum. N is larger, to the 5th power of 10. From meituan. 3

Webrtc series - network transmission 5: select the optimal connection switching

Kaformer personal notes

Target detection series fast r-cnn

From the Huawei weautomate digital robot forum, we can see the "new wisdom of government affairs" in the field of government and enterprises
随机推荐
MySQL - SQL statement
A tip to read on Medium for free
Every (), map (), forearch () methods. There are objects in the array
[Niuke] length of the last word of HJ1 string
Numpy numpy中的np.c_和np.r_详解
Redis implements a globally unique ID
Depens:*** but it is not going to be installed
【Redis实现秒杀业务①】秒杀流程概述|基本业务实现
Kaformer personal notes
4275. Dijkstra sequence
Installation of sophus package in slam14 lecture
The printed object is [object object]. Solution
Qingcloud based R & D cloud solution for geographic information enterprises
Idea another line shortcut
华为路由器:ipsec技术
【Redis實現秒殺業務①】秒殺流程概述|基本業務實現
Numpy NP in numpy c_ And np r_ Explain in detail
Data middle office: a collection of middle office construction architectures of large domestic factories
Linux (centos7.9) installation and deployment of MySQL Cluster 7.6
MySQL | view notes on Master Kong MySQL from introduction to advanced