-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed as not planned
Labels
lifecycle/staletype/featureThe PR added a new feature or issue requested a new featureThe PR added a new feature or issue requested a new feature
Description
Is your feature request related to a problem? Please describe.
It would be handy to be able to reset-cursor to an absolute time, e.g. "start consuming from midnight". Otherwise you have to calculate the time offset, and stuff it into the command immediately.
There is a mention of the corresponding REST API call which appears to have a :timestamp parameter - if that's an absolute time, then this is just an issue with the CLI.
Describe the solution you'd like
ISO 8601 includes unambiguous ways of representing absolute and relative times.
PT30M- 30 minutes (relative offset)P1D- one day (relative offset)1981-04-05T12:00- absolute date/time (extended format)19810405T1200- absolute date/time (basic format)
It should be straightforward to parse and distinguish these cases, whilst falling back to existing behaviour (10 = 10 minute offset, 2h = 2 hour offset etc)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lifecycle/staletype/featureThe PR added a new feature or issue requested a new featureThe PR added a new feature or issue requested a new feature