Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postal Codes getting parsed as time tokens #542

Open
2 of 7 tasks
gvasco opened this issue Feb 3, 2024 · 0 comments
Open
2 of 7 tasks

Postal Codes getting parsed as time tokens #542

gvasco opened this issue Feb 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gvasco
Copy link

gvasco commented Feb 3, 2024

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports and didn't find any similar reports.

Expected Behavior

Postal codes should be correctly identified in the adress field of event

Current behaviour

4 digit postal codes preceded by white space in adress field get recognized as time and tried to be parsed that way, failing becuse they don't have a time sepperator

JavaScript console output

plugin:obsidian-full-calendar:64678 Revalidating remote calendars...
revalidateRemoteCalendars @ plugin:obsidian-full-calendar:64678
eval @ plugin:obsidian-full-calendar:63886
plugin:obsidian-full-calendar:62470 FC: Error parsing time string '20:00:29': unparsable'
parseTime @ plugin:obsidian-full-calendar:62470
combineDateTimeStrings @ plugin:obsidian-full-calendar:62506
toEventInput @ plugin:obsidian-full-calendar:62593
eval @ plugin:obsidian-full-calendar:63938
eval @ plugin:obsidian-full-calendar:63938
updateCalendar @ plugin:obsidian-full-calendar:64529
eval @ plugin:obsidian-full-calendar:64699
plugin:obsidian-full-calendar:64715 Revalidation failed with reason: ParserError: invalid line (no token ";" or ":") "1160 removed_city"
eval @ plugin:obsidian-full-calendar:64715
eval @ plugin:obsidian-full-calendar:64714

Steps to reproduce

create event with a 4 digit postal code address field

Calendar information

using icloud integration

Which Operating Systems are you using?

  • macOS
  • Windows
  • Linux
  • Android
  • iOS

Obsidian Version

latest

Full Calendar Plugin Version

latest

Checks

  • I have tried it with all other plugins disabled and the error still occurs.

Possible solution

some check is valiating the 4 digits as time and not checking the field

Comments

n/a

@gvasco gvasco added the bug Something isn't working label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant