gkopff / gson-jodatime-serialisers

A set of Gson serialiser/deserialisers for dealing with Joda Time entities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php timestamp to java timestamp

jiqimaogou opened this issue · comments

php timestamp is not different with java timestamp, if the server is php, this library would not work.

commented

Do you mean that PHP doesn't output a timestamp in ISO 8601 format?

Right now, you can't customise the input/output format - it is useful to round-trip the data between components that are both using ISO 8601, but that's all.

If you want to submit a pull request with code for configuring the input/output format, I'd gladly take a look at merging it. :)