Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 566 Bytes
Format Dates In Erlang
Original source code by Dale Harvey licensed
under the DWTFYW License
Changes by Gordon Guthrie added under the
Abbie Hoffman 'Steal This Book' License
This module formats erlang dates in the form
{{Year, Month, Day}, {Hour, Minute, Second}}
to printable strings, using (almost) equivalent
formatting rules as
erlang has no concept of timezone so the following
formats are not implemented: B e I O P T Z
formats c and r will also differ slightly
See unit tests in the source code for examples