OCaml Forge
SCM

Detail: [#223] Convenience parsing of dates and times.

Feature Requests: Browse | Download .csv | Monitor

[#223] Convenience parsing of dates and times.

Date:
2009-06-13 23:11
Priority:
3
State:
Open
Submitted by:
Guillaume Yziquel (yziquel)
Assigned to:
Julien Signoles (signoles)
Component:
None
Operating System:
Linux
Product:
None
 
Summary:
Convenience parsing of dates and times.

Detailed description
Hello.

I've noticed the parsers in the Printer module. However, I believe it would be a great idea to provide a Printer.Convenience module, or better, a Parser.Convenience module, which would, given a defined language (english only would be OK) parse dates given in usual formats.

This would be quite helpful. Dealing with the real world is all bytes and strings, and such a Parser.Convenience module would ease the pain and make Calendar much more fun to use.

Guillaume.

Followup

Message
Date: 2009-06-29 12:08
Sender: Julien Signoles

Hello Guillaume,

I already planned to write a new module 'Parser' from the existing parsers in the Printer module (see here: https://forge.ocamlcore.org/pm/task.php?func=detailtask&project_task_id=204&group_id=83&group_project_id=161).

However what would be the exact features of your suggested 'Convenience' module? What more comparing to the existing Printer.*.from_fstring (combining with the internationalization possibilities)?

http://calendar.forge.ocamlcore.org/doc/Printer.S.html#VALfrom_fstring
http://calendar.forge.ocamlcore.org/doc/Printer.html#2_Internationalization

--
Julien

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2009-06-29 11:46signoles