Negative timestamp
Closed this issue · 1 comments
fundo-moretti commented
Hi,
Following JSON date raises InvalidJsonDateString
{
"Value": "\/Date(-157939200000+0000)\/"
}
I think this timestamp is valid, but preg_match('/Date\((\d+)([+,-]?\d*)\)/', $date, $matches)
does not take negative timestamps into account.
zsocakave commented
Hi,
Thank you for your feedback, we fixed it in 1.0.1.