briefcase icon indicating copy to clipboard operation
briefcase copied to clipboard

Allow times in start and end filters of the export operation in the CLI

Open ggalmazor opened this issue 6 years ago • 4 comments

As per forum conversation, users would like to be able to define an export date range filter with time resolution.

Currently, the -start, and -end CLI args allow ISO8601 formatted dates (e.g. 2019-01-01), and submissions are exported by their submission dates, considering that the provided dates represent the start of day (at 00:00:00.000 in the system's time zone)

The enhancement would consist in allowing ISO8601 formatted datetimes (as described in this doc) in addition to just dates. Some examples of allowed arg values:

  • -start 2019-05-02

    This would be equivalent to -start 2019-05-02T00:00:00.000Z, assuming that the system's timezone is UTC

  • -start 2019-01-01T10:20:30.000Z

  • -end 2019-06-04

    This would be equivalent to -end 2019-06-04T00:00:00.000Z, assuming that the system's timezone is UTC

  • -end 2019-02-03T20:30:45.123-05:00

ggalmazor avatar Sep 11 '19 06:09 ggalmazor

@ggalmazor I can give this a go :)

mayank8318 avatar Oct 22 '19 19:10 mayank8318

Sure!

ggalmazor avatar Oct 23 '19 09:10 ggalmazor

@opendatakit-bot claim

mayank8318 avatar Oct 24 '19 17:10 mayank8318

Hello @mayank8318, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 15 days.

You can reclaim this issue or claim any other issue by commenting @opendatakit-bot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

getodk-bot avatar Nov 07 '19 20:11 getodk-bot