Koha-clms/Koha/Patron
Nick Clemens 017d03b741 Bug 24840: [19.11.x] Replace DateTime->now with dt_from_string
We should use Koha::DateUtils instead of Date::Time directly

This patch simplay replaces calls to now() with a call to dt_from_string()
which does effectively the same thing.

Probably reading the code and verifying changes is sufficient but...

To test:
1 - confirm the files all compile
2 - confirm all tests pass
3 - confirm Koha still works

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Bug 24840: Catch some further cases of DateTime->now

This patch corrects a few additional cases where DateTime->now is called
directly instead of via Koha::DateUtils.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
2020-05-07 17:17:12 +00:00
..
Attribute Bug 23281: Cleanup Koha::Patron::Attribute::Types->search 2019-08-19 10:20:39 +01:00
Password Bug 24840: [19.11.x] Replace DateTime->now with dt_from_string 2020-05-07 17:17:12 +00:00
Attribute.pm Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
Attributes.pm Bug 12159: (QA follow-up) Rename relation in Patron::Attributes 2019-03-28 13:05:22 +00:00
Categories.pm Bug 15407: Koha::Patron::Categories - replace GetborCatFromCatType 2016-09-08 13:29:22 +00:00
Category.pm Bug 22694: Add Koha::Patron::Category->override_hidden_items 2019-04-24 10:51:26 +00:00
Consent.pm Bug 20819: Add Koha object classes for patron consents 2018-09-20 13:45:25 +00:00
Consents.pm Bug 20819: Add Koha object classes for patron consents 2018-09-20 13:45:25 +00:00
Debarments.pm Bug 16849: Move IsDebarred to Koha::Patron->is_debarred 2016-07-15 18:08:14 +00:00
Discharge.pm Bug 23589: Discharge notice does not show non-latin characters 2019-10-07 12:22:08 +01:00
Files.pm Bug 16011: $VERSION - Remove empty BEGIN block 2016-03-24 17:20:41 +00:00
HouseboundProfile.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
HouseboundProfiles.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
HouseboundRole.pm Bug 5670: [QA Followup] Create HouseboundRole objects. 2016-10-21 18:18:05 +00:00
HouseboundRoles.pm Bug 5670: [QA Followup] Create HouseboundRole objects. 2016-10-21 18:18:05 +00:00
HouseboundVisit.pm Bug 5670: [Followup] Return Koha::Patron objects. 2016-10-21 18:17:58 +00:00
HouseboundVisits.pm Bug 5670: Housebound Readers Module 2016-10-21 18:17:57 +00:00
Image.pm Bug 15635: Change method type to _type for bug 15446 2016-03-04 12:54:20 +00:00
Images.pm Bug 15635: Change method type to _type for bug 15446 2016-03-04 12:54:20 +00:00
Message.pm Bug 24016: (QA follow-up) Format code to adhere to perltidy format 2020-01-18 15:05:19 +00:00
Messages.pm
…
Modification.pm Bug 23151: Tweak to use the new database structure 2019-07-19 09:39:11 +01:00
Modifications.pm Bug 23151: Tweak to use the new database structure 2019-07-19 09:39:11 +01:00
Relationship.pm Bug 19809: Remove some new occurrences 2020-02-11 19:28:10 +00:00
Relationships.pm Bug 14570: (follow-up) fix qa FAIL tests 2019-08-20 16:05:14 +01:00