Skip to content

Commit

Permalink
REPL history: use longer, explicit strftime format [fix #7182]
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Jun 9, 2014
1 parent 7030672 commit 2935fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function add_history(hist::REPLHistoryProvider, s)
push!(hist.modes, mode)
hist.history_file == nothing && return
entry = """
# time: $(strftime("%F %T %Z", time()))
# time: $(strftime("%Y-%m-%d %H:%M:%S %Z", time()))
# mode: $mode
$(replace(str, r"^"ms, "\t"))
"""
Expand Down

0 comments on commit 2935fd4

Please sign in to comment.