Forum Moderators: coopster
php 4.2.3
Postgres 7.3
Yup, those were the first two places I looked.
strtotime() was returning -1, which is its way of saying that its input didn't look like any kind of time to it.
I have dealt with the problem by passing the ISO format time from Postgres through a regular expression that strips off the fractional part of the seconds. No great loss, since my readable_time() function never prints anything more precise than the minute. It doesn't answer the question of why it stopped working very well, but it addresses the issue anyway.