qdate
qdate copied to clipboard
Erlang date, time, and timezone management: formatting, conversion, and date arithmetic
List of other changes: - remove trailing spaces - missing missing date to changelog - add badges for quick overview Screenshot: 
WIP - please don't merge yet it's not complete I'm working on getting qdate working and clean with r19 some hex improvements (aka ranged dependencies). There are a few problems...
Qdate could benefit from more date arithmetic in the sense of finding out the difference between two dates. difference_days(Date1, Date2) would return the number of days between those two dates....
Per the recommendation from @RomanShestakov, add business day arithmetic. This will require either accepting a list of business days, or more likely, have a predicate function passed to it which...
This will keep the original timezone from the input date.
Hi there, What would be the best approach to add a function that returns the timezone for a given date (string or otherwise)? I need: ``` "2001-11-12T10:05:01Z" --> "GMT" "2001-11-12T10:05:01EST"...
Hi I've published jesse as a hex package, this are the changes necessary to make it hex-able with riak3. Since it is your project it would be great if you'd...
``` qdate:set_timezone("UTC+8"), qdate:to_unixtime(calendar:local_time()) ``` will raise error: ``` ([email protected])32> qdate:to_unixtime(calendar:local_time()). ** exception error: no function clause matching calendar:date_to_gregorian_days(error) (calendar.erl, line 124) in function calendar:datetime_to_gregorian_seconds/1 (calendar.erl, line 137) in call from...