Skip to content

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDTF

Build Coverage Hex.pm

An Extended Date Time Format (EDTF) / ISO 8601-2 parser and English language rendering toolkit for Elixir.

Compatibility

EDTF / ISO 8601-2

EDTF fully implements EDTF levels 0, 1, and 2 as specified by ISO 8601-2

Installation

Add edtf to your list of dependencies in mix.exs:

def deps do
  [
    {:edtf, "~> 1.0.0"}
  ]
end

Usage

See EDTF.parse/1, EDTF.validate/1, EDTF.humanize/1, and EDTF.to_date_range/1.

Notes

  • Some human-readable dates containing Level 2 qualifications and years with significant digits, may produce less specific results than desired.

About

An Extended Date Time Format (EDTF) / ISO 8601-2 parser and English language rendering toolkit for Elixir.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages