Another fix for spec messages.
Signed-off-by: Jordan Wilberding <diginux@gmail.com>
This commit is contained in:
parent
5c6af5c7f5
commit
3437fc8c1c
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ format(Format, Date) ->
|
|||
parse(Date) ->
|
||||
do_parse(Date, calendar:universal_time(),[]).
|
||||
|
||||
-spec parse(string(),datetime() | now()) -> datetime()|now().
|
||||
-spec parse(string(),datetime() | now()) -> datetime();
|
||||
(string(),datetime() | now()) -> now().
|
||||
%% @doc parses the datetime from a string
|
||||
parse(Date, {_,_,_}=Now) ->
|
||||
do_parse(Date, calendar:now_to_datetime(Now), []);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue