Simplify format_time()
SQLite: Support UPDATE OF triggers