# # # patch "cmd_diff_log.cc" # from [42fba34c1c2c7043948faf2d0d0068a40549c061] # to [c454847ab9358d225bb51677ca3ddba8306fa005] # # patch "std_hooks.lua" # from [34cd38845eba0c0119042987efbbd7b4d7d1b62f] # to [3b3f7e40220a98ad82b001f6fd2f871b8a1164ff] # ============================================================ --- cmd_diff_log.cc 42fba34c1c2c7043948faf2d0d0068a40549c061 +++ cmd_diff_log.cc c454847ab9358d225bb51677ca3ddba8306fa005 @@ -542,7 +542,7 @@ CMD(log, "log", "", CMD_REF(informative) if (!app.opts.date_fmt.empty()) date_fmt = app.opts.date_fmt; else - app.lua.hook_get_date_format_spec(date_time_short, date_fmt); + app.lua.hook_get_date_format_spec(date_time_long, date_fmt); } long last = app.opts.last; ============================================================ --- std_hooks.lua 34cd38845eba0c0119042987efbbd7b4d7d1b62f +++ std_hooks.lua 3b3f7e40220a98ad82b001f6fd2f871b8a1164ff @@ -386,12 +386,12 @@ function get_date_format_spec(wanted) -- ISO 8601, no timezone conversion: "" --. if (wanted == "date_long" or wanted == "date_short") then - return "%x" + return "%F" end if (wanted == "time_long" or wanted == "time_short") then - return "%X" + return "%T" end - return "%x %X" + return "%F %T" end -- trust evaluation hooks