Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change date format (add 0)

SVN Revision: 223
  • Loading branch information...
commit 05111c29920c28ed98bb0d96fa21d56367e027dd 1 parent 97b10c7
@nniclausse nniclausse authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/tsunami/ts_utils.erl
View
2  src/tsunami/ts_utils.erl
@@ -182,7 +182,7 @@ datestr()->
%% datestr/1
%%----------------------------------------------------------------------
datestr({{Y,M,D},{H,Min,S}})->
- io_lib:format("-~w:~w:~w-~w:~w",[Y,M,D,H,Min]).
+ io_lib:format("-~w~2.10.0b~2.10.0b-~2.10.0b:~2.10.0b",[Y,M,D,H,Min]).
erl_system_args()->
Shared = case init:get_argument(shared) of
Please sign in to comment.
Something went wrong with that request. Please try again.