https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43944

--- Comment #3 from Community Sandboxes <[email protected]> ---
Created attachment 210131
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210131&action=edit
Bug 43944: Correctly format the date in counter file logic

This patch updates counter file logic to work with a Mmm-yyyy format instead of
Mmm yyyy. This prevents manual imports from succeeding as a counter compliant
file will follow the new format. When parsing a file we still allow the Mmm
yyyy format to prevent older files from failing

Test plan:
1) Visit
https://cop5.projectcounter.org/en/5.0.3/appendices/h-sample-counter-master-reports-and-standard-views.html?utm_source=chatgpt.com
and download an example file, saving it as CSV
2) Try to upload the file
3) It should fail
4) Apply the patches and restart_all
5) Retry the import, it should succeed

Assisted-by: Sonnet 5.5 (Anthropic)
Signed-off-by: Michaela Sieber <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to