Closed rettinghaus closed 3 weeks ago
Thanks for the PR @rettinghaus!
I think you got the wrong places for replacing the hyphens. The ones you replaced are only used internally / in the format
query parameter as a marker (dateOfBirth-dateOfDeath
). The actual output string (e.g. 1835-1910
) should be the one generated here:
@fsteeg Thanks for pointing me to this. Wouldn't have identified v1
and v2
as dates. 🤣
I don't think the other hyphens (from your original commit) should actually be replaced, that would make usage cumbersome (entering the en dash when configuring a call) and break existing usage of that API (even if it's undocumented).
Fixes #305.