Skip to content

raimonbosch/ruby-date-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ruby-date-extraction

Simple solution to convert raw strings into dates.

The code is using regular grammars to extract the dates in a efficent way.

require 'date_extraction'
dtparser = DateExtraction.new()
date = dtparser.parse_date "Monday 27 October, 2011 11:30h"

p date
//It will print: 2011-10-27 11:30:00

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages