MySQL allows timestamps of the form "0000-00-00 00:00:00", which Time.gm() rightly complains about. This patch prevents an ArgumentError exception from propagating in this case, and returns nil instead.
Logged In: NO
I can be reached via email at aredridel@nbtsc.org
Log in to post a comment.
Logged In: NO
I can be reached via email at aredridel@nbtsc.org