https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41182 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192041|0 |1 is obsolete| | Attachment #192042|0 |1 is obsolete| | Attachment #192043|0 |1 is obsolete| | Attachment #192044|0 |1 is obsolete| | Attachment #192045|0 |1 is obsolete| | --- Comment #10 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 192046 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192046&action=edit Bug 41182: Allow choosing format of date passed to SUSHI These patches add a new dateformat field to erm_usage_data_providers to allow for choosing the format sent to sushi The formats supported are: yyyy-mm yyyy-mm-dd yyyy-mm is the current assumption and remains the default To test: 0 - Apply patches, updatedatabase, yarn build, restart all 1 - Enable ERMModule 2 - Add a new Data providers 3 - Click 'Add manually' and add a provider without setting the 'Date format' field 4 - Confirm the provider is saved with dateformat 'YYYY-MM' 5 - Edit and set the provider date format to 'YYYY-MM-DD' 6 - Confirm it saves correctly 7 - Edit and set to 'YYYY-MM' and confirm saved 8 - Edit and clear the field, it remains as 'YYYY-MM' 9 - Edit and save as 'YYYY-MM-DD' 10 - Edit and clear the field and save 11 - Confirm it remains 'YYYY-MM-DD' 12 - Run unit tests -- You are receiving this mail because: You are watching all bug changes.