Skip to content

nicompte/gedcomx2edtf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gedcomx2edtf

GedcomxDate to edtf converter.

setup

Install a rust compiler (with rustup):

curl https://sh.rustup.rs -sSf | sh

And build

cargo build --release

usage

require './gedcomx2edtf'

puts Gedcomx2edtf.convert("+1988-03-29T03:19Z") # 1988-03-29T03:19-00:00
puts Gedcomx2edtf.convert("A+2003/+2003-05") # 2003~/2003-05~
puts Gedcomx2edtf.convert("/+1789") # [..,1789]
puts Gedcomx2edtf.convert("-0001") # -2

About

Convert a GEDCOM X date to an EDTF one

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published