Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Select in ui: 15.03.2001
- 2. Create date: new Date(2001,3,15) -> Thu Mar 15 2001 00:00:00 GMT+0100 (Mitteleuropäische Normalzeit)
- 3. Transmit date with Angular HttpClient -> date field in json has the value "2001-03-14T23:00:00.000Z"
- -----------------------------------------------------------------------------------------
- 4. Spring receives date field "2001-03-14T23:00:00.000Z"
- 5. Convert "2001-03-14T23:00:00.000Z" to LocalDate -> 2001-03-14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement