daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top