daleharvey/dh_date

Date formatting / parsing library for erlang

Erlang

41

13 commits

updated May 31, 2022

See the code

README

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 http://uk.php.net/date

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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

daleharvey

4 commits

hypernumbers

2 commits

mworrell

2 commits

greggy

1 commits

daleharvey/dh_date

Date formatting / parsing library for erlang

Erlang

41

13 commits

updated May 31, 2022

See the code

README

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 http://uk.php.net/date

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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

daleharvey

4 commits

hypernumbers

2 commits

mworrell

2 commits

greggy

1 commits

Languages

Erlang

96.1%

Makefile

3.9%