Skip to content

Commit

Permalink
date and time conflict with BIFs
Browse files Browse the repository at this point in the history
  • Loading branch information
joelreymont committed Nov 23, 2008
1 parent 75137a3 commit da0ded3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pp.erl
Expand Up @@ -2,7 +2,8 @@

-module(pp).

-export([read/1, write/1, test/0, id_to_game/1, send/3]).
-export([read/1, write/1, test/0, send/3]).
-export([id_to_player/1, id_to_game/1, id_to_tourney/1]).

-include("test.hrl").
-include("common.hrl").
Expand Down Expand Up @@ -31,7 +32,7 @@ month() ->
day() ->
byte().

date() ->
date_() ->
tuple({year(), month(), day()}).

hour() ->
Expand All @@ -43,11 +44,11 @@ minute() ->
second() ->
byte().

time() ->
time_() ->
tuple({hour(), minute(), second()}).

datetime() ->
tuple({date(), time()}).
tuple({date_(), time_()}).

timestamp() ->
tuple({int(), int(), int()}).
Expand Down

0 comments on commit da0ded3

Please sign in to comment.