https://bugs.lttng.org/https://bugs.lttng.org/themes/lttng/favicon/a.ico?14249722912020-02-17T21:19:10ZLTTng bugs repositoryBabeltrace - Bug #1229: flt.utils.trimmer: with no date, beginning time cannot be greater than end timehttps://bugs.lttng.org/issues/1229?journal_id=36152020-02-17T21:19:10ZJonathan Rajotte Julienjonathan.rajotte-julien@efficios.com
<ul></ul><p>Follow-up:</p>
<p>From Simon Marchi:</p>
<pre>
If we follow these rules, I think it should be easy to implement and natural to use:
For begin:
- if a date is specified, use that
- if no date is specified, use the date of the first event
For end:
- if a date is specified, use that
- if no date is specified, use the first instance of that time that follows begin (which is another way of saying "we assume a maximum delta of 23h59:59.999999999")
After doing this, we can check if end < begin, which should only be possible if the user has provided an end date.
</pre>
<p>From Jonathan Rajotte:<br /><pre>
This is usability related. Moving to 2.1. Current user can specify the date directly.
</pre></p> Babeltrace - Bug #1229: flt.utils.trimmer: with no date, beginning time cannot be greater than end timehttps://bugs.lttng.org/issues/1229?journal_id=36172020-02-17T21:26:04ZJonathan Rajotte Julienjonathan.rajotte-julien@efficios.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/1230">Bug #1230</a>: flt.utils.trimmer: local time can be nonexistent or ambiguous with DST</i> added</li></ul> Babeltrace - Bug #1229: flt.utils.trimmer: with no date, beginning time cannot be greater than end timehttps://bugs.lttng.org/issues/1229?journal_id=36372020-02-17T22:12:18ZJonathan Rajotte Julienjonathan.rajotte-julien@efficios.com
<ul><li><strong>Author</strong> changed from <i>215</i> to <i>22</i></li></ul> Babeltrace - Bug #1229: flt.utils.trimmer: with no date, beginning time cannot be greater than end timehttps://bugs.lttng.org/issues/1229?journal_id=36612020-02-18T16:14:23ZJonathan Rajotte Julienjonathan.rajotte-julien@efficios.com
<ul></ul><p>Migrated from internal bug tracker.</p>