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

Distinguish between dates and times #412

Closed
RobertBColton opened this issue May 8, 2016 · 1 comment
Closed

Distinguish between dates and times #412

RobertBColton opened this issue May 8, 2016 · 1 comment

Comments

@RobertBColton
Copy link

RobertBColton commented May 8, 2016

I've recently been prototyping an application where we are generating the UI in Qt Framework from toml files. Everything has been going good so far but we've hit a bit of an edge case. In Qt there are separate QTimeEdit, QDateEdit, and QDateTime editor widgets. It is impossible to determine using a toml implementation whether the toml file had only a date or only a time or both. This makes it difficult to generate the correct editor widget for the UI, we always have to use QDateTime and just ignore the date or the time if we don't want it. I wanted to mention this particular use case and suggest a separate DATE, TIME, and DATETIME type for the toml specification.

@mojombo
Copy link
Member

mojombo commented May 14, 2016

See #414 for the latest proposal (and #362 for a long discussion leading up to it).

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

2 participants