Closed fxnn closed 9 years ago
While absolute times are done, we still need to be able to compare with relative timestamps. While one Syntax proposal is already given, I find that rather unintuitive. An alternative could be
timestamp: {"younger than": "1h30m"}
timestamp: {"older than": "3d"}
Each logentry has a timestamp. One must be able to compare them, at least based on the current time, or even with some given timestamp.
Therefore, we could have predicates as:
Note that the last version would need to use some fixed timestamp format. RFC3339 aka ISO 8601 feels right here.