lp1811710: Firefox breaks with timestamps in FormatService
authorJason Etheridge <jason@EquinoxInitiative.org>
Fri, 28 Jun 2019 20:18:34 +0000 (16:18 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Fri, 16 Aug 2019 15:22:12 +0000 (11:22 -0400)
commit1b2d9b44c23658bfcf2678d33f1608979f2ba247
tree3cfe5f741a586c585654e294b14963e53e432e93
parent66aaac6576e3353f74c427f6dfa5f352c0b2d84b
lp1811710: Firefox breaks with timestamps in FormatService

new Date(value) returns Invalid Date, whereas Chrome is more forgiving.

Here's some of our own parsing to get around it.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/eg2/src/app/core/format.service.ts