World-Three-Technologies / Masxaro-Prototype

Other
8 stars 4 forks source link

receipt time delivery #17

Closed yichaoyu closed 13 years ago

yichaoyu commented 13 years ago

Right now, I include the receipt time like this: "basicInfo.put("receipt_time", "07-12-2011 06:12:32");" and then deliver the receipt JSON Object. Does this cause any trouble on the newer version backend?

yaxing commented 13 years ago

The data format is wrong, it should be "YYYY-MM-DD HH:MM:SS"

Rafe commented 13 years ago

it's okay on front-end, Javascript Date object can handle both.