Add guard clause to time_tag method to handle nil time
|Assignee:||Go MAEDA||% Done:|
This patch prevents an Internal Server Error from occurring when a nil value is passed to the
For some reason, a table's
updated_at may have an invalid value "0000-00-00 00:00". In this case, a nil value is passed to
time_tag and the user encounters an Internal Server Error. This situation has been reported in #12026 and #12826.