eslick / cl-registry

A Common Lisp-based web framework supporting custom clinical and patient medical registries. Leverages Weblocks and Elephant to enable a highly dynamic and flexible schemata.
http://www.lamsight.org
Other
10 stars 1 forks source link

Fix localization and date formatting/parsing feature #3

Open eslick opened 13 years ago

eslick commented 13 years ago

Adaptation to latest version of cl-l10n is incomplete. See Part I checkin on 9/28 for more description and the README.

eslick commented 12 years ago

Provided a basic fix by using string patterns for the cl-l10n rendering, also hacked the parser using dwim parsing (described in earlier checkin). Ideal fix is to:

1) Remove all dependence on cl-l10n for date/time handling (it's simple enough) 2) Use local-time for printing and parser+patterns 3) Have field type keys dictate which formats are parsed 4) Manually populate a locale to pattern matching which indexes matched parsing & printing patterns

eslick commented 12 years ago

Partial fix by adding offsets to local-time parsing code to parse dates in EST (where the existing instances of this code are hosted). The whole subsystem of i18n+l10n remains a big mess, interacting with presentations, data analysis, and some of the rendering code.