renlok / WeBid

The official WeBid github fork
http://www.webidsupport.com
114 stars 125 forks source link

parse time string #523

Closed david62311 closed 5 years ago

david62311 commented 5 years ago

Got this error on the item.php page: Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (1375794060) at position 8 (6): Unexpected character

I was also getting a blank item.php page.

This update fixes that and it will now show the item page.

david62311 commented 5 years ago

I closed this because it caused an error on the sell.php page with the same line of code causing the same error to pop up. The issue is probably on the item.php page. I will take a look at that.

MESWEB commented 5 years ago

@david62311 I was fix this error couple months ago - databse storage time as UNIX timestamp.