hapi-server / uri-templates

Repository of tools for URI templates
Apache License 2.0
2 stars 0 forks source link

consider adding AM/PM field with $p #8

Open jbfaden opened 3 years ago

jbfaden commented 3 years ago

I was given a list of Juno Jupiter equator crossing times, which are formatted like "04/06/25 12:18 AM" or "09/17/25 05:30 PM" I'm unable to use the time parsing library with these because AM/PM flag. (Note that $y is used for two-digit years.) The date command uses %p for this, and think we should consider $p.

jbfaden commented 2 years ago

Note that $I would also be needed, which is similar to $H but is 01..12. I'd like to proceed with this, as I think this is an easily resolved missing feature.