[erlang-questions] add a time interval to a timestamp

Attila Rajmund Nohl <>
Tue Mar 15 17:18:00 CET 2011

2011/3/15, Mazen Harake <>:
> On 15 March 2011 15:32, Attila Rajmund Nohl <> wrote:
>> Hello!
>> Unfortunately the calendar:* functions crash on wrong input:
> I would say that this is a _good_ thing. More functions in standard
> applications should crash when not used properly.

The main problem is that the calendar module lacks  a "normalizer"
function (or an other version of the functions that accept "wrong"
value), so now everyone writes their own "add one day to the date"

More information about the erlang-questions mailing list