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

Event Time Hours need to be at least 2 decimals #16

Open
AlexJenter opened this issue Jul 22, 2020 · 0 comments
Open

Event Time Hours need to be at least 2 decimals #16

AlexJenter opened this issue Jul 22, 2020 · 0 comments

Comments

@AlexJenter
Copy link
Contributor

AlexJenter commented Jul 22, 2020

when the hour place of the time string is not at least 2 decimals long, the time leaks into the Title field and the Title data goes missing

---
title:
  prefix: "idH"
---
17.8.2020, 7:30-8:15, Hello world

is:

idH – 7:30-8:15
πŸ“… 17.8.2020 – 17.8.2020

Debug-Infos
{
  "date": {
    "from": {
      "day": 17,
      "month": 8,
      "year": 2020
    },
    "to": {
      "day": 17,
      "month": 8,
      "year": 2020
    }
  },
  "title": "idH – 7:30-8:15",
  "notes": "",
  "location": "Switzerland",
  "url": ""
}

should be:

idH – Hello world
πŸ“… 17.8.2020 7:30 – 17.8.2020 8:15

Debug-Infos
{
  "date": {
    "from": {
      "hour": 7,
      "minute": 30,
      "day": 17,
      "month": 8,
      "year": 2020
    },
    "to": {
      "hour": 8,
      "minute": 15,
      "day": 17,
      "month": 8,
      "year": 2020
    }
  },
  "title": "idH – Hello world",
  "notes": "",
  "location": "Switzerland",
  "url": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant