Angular2 parse java.util.Date -


dealing java date biggest fight since forever.

i received date example: 1998-01-05t00:01:00+01:00

is there way first 10 characters without cutting string? angular2 offers date pipe don't know if , how use here.

thank help.

ps: java.sql.date not option

i resolve problem angular2 datepipe processing iso 8601 date (invalid argument '*' pipe 'datepipe')?

i've created own pipe.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -