Closed bdarcus closed 1 year ago
@cormacrelf . here's the PR branch where I'm trying to figure out how to integrated localized edtf date formatting. Any help would be much appreciated.
EDIT: I merged what I had, and will tackle this piece later. Still would love some help!
Basic rendering now works so:
render_references
so it returns an array of templates (also need to add a type for that)Tackle these later:
edtf:Date
formattingtemplateComponent
property in the AST, but may do laterOn EDTF, here's what the parse function returns, so will presumably need to match on this?
I think I then need to use
chrono
to do the formatting, but I'm not sure:https://docs.rs/chrono/latest/chrono/#formatting-and-parsing