influxdata / influxdata/influxdb
add time operator today()
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
### Feature Request
**Proposal:** [Description of the feature]
`today()` is a shortcut to midnight UTC of the current day. E.g. if it is September 19th, 2016, then `today()` returns `2016-09-16T00:00:00Z`
**Use case:** [Why is this important (helps with prioritizing requests)]
Was brought up as a desired feature in the Austin 1-day class.
@desa can you elaborate?
Contributor guide
Research direction
The issue names no implementation files, entry points, or tests. Start by locating the query-language operator and existing date/time function tests, then review the unresolved comment discussion before choosing an approach. Done means the agreed today() behavior is implemented and covered by tests, including its UTC-midnight result.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100