Advertisement
Guest User

Untitled

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