Add gitignore and making info
This commit is contained in:
parent
9ac0e40446
commit
4423d1f055
6 changed files with 27 additions and 1 deletions
1
.fed
Normal file
1
.fed
Normal file
|
@ -0,0 +1 @@
|
|||
editor=vim
|
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
*~
|
||||
*.beam
|
||||
*.sw?
|
||||
deps/
|
||||
ebin/
|
7
Makefile
Normal file
7
Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
all: get-deps compile
|
||||
|
||||
get-deps:
|
||||
./rebar get-deps
|
||||
|
||||
compile:
|
||||
./rebar compile
|
BIN
rebar
vendored
Executable file
BIN
rebar
vendored
Executable file
Binary file not shown.
13
rebar.config
Normal file
13
rebar.config
Normal file
|
@ -0,0 +1,13 @@
|
|||
% vim:ts=4 sw=4 et ft=erlang
|
||||
{require_otp_vsn, "R13B04|R14|R15"}.
|
||||
|
||||
{cover_enabled, true}.
|
||||
|
||||
%{erl_opts, [debug_info,{i,"site/include"}]}.
|
||||
|
||||
{deps_dir, ["deps"]}.
|
||||
|
||||
{deps, [
|
||||
{erlware_commons, ".*", {git, "git://github.com/erlware/erlware_commons.git", "HEAD"}},
|
||||
{erlang_localtime, ".*", {git, "git://github.com/dmitryme/erlang_localtime.git", "HEAD"}}
|
||||
]}.
|
|
@ -32,7 +32,7 @@ parse(String) ->
|
|||
to_date(String).
|
||||
|
||||
nparse(String) ->
|
||||
parse_to_now(String).
|
||||
to_now(String).
|
||||
|
||||
to_date(Unixtime) when is_integer(Unixtime) ->
|
||||
unixtime_to_date(Unixtime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue