-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow relative days for date and timestamp columns in csv-to-docs command #230
Comments
ready for AT |
When using |
@wtekeu ^ |
@binokaryg the branch has been updated with your suggestions. |
Thanks, @wtekeu,
I guess the reason for this could be "current time" being read dynamically during the processing of each document. If that's the case, can we just read a "current time" at the beginning and stick to that throughout the batch? Although it shouldn't create any problem in real life but it can affect automated tests. |
Thanks @wtekeu and @binokaryg . We can approach these two ways since it is not likely to affect anyone in 'production' : a) work on it now and get it over and done if it is a minor job or b)if it is time-consuming, close the ticket and open a new one when/if it becomes an issue with automated tests. |
@binokaryg and @ngaruko I opted for a) .. please test latest changes |
It works like a charm! Thanks. |
We want to create a set of dummy data for web-app which includes a bunch of reports that should trigger tasks and show targets as soon as we upload them. For this to work, we need a mechanism to calculate the timestamp/date fields in the forms relative to the current date.
Although this has been done in the past by writing relative days in JSON and running through external scripts, there does not seem to be a reliable way of doing it from within
medic-conf
.Can we add this feature in
medic-conf
?The text was updated successfully, but these errors were encountered: