Ruby has this great library called Chronic that parses strings into Ruby 
Date objects. It handles date strings that are human friendly as well as in 
rigid formats.

You can see some usage examples here: https://github.com/mojombo/chronic

Has anyone already made such a parser for TiddyWiki5? Does anyone know if a 
similar library exists for Javascript which could be used?

Why?  I have a textbox for rapid list item entry.  Instead of picking a 
due-date for example, I just want to include the due-date as part of the 
text and have a macro parse it out from the title and add it as a date 
field. An example entry in my textbox might look like this:

Schedule a fire system test due:"oct 1 8am"

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7418ef02-f309-42ab-a61a-63dcfdb82a11n%40googlegroups.com.

Reply via email to