Bugzilla – Attachment 173900 Details for
Bug 31143
We should attempt to fix/identify all cases where '0000-00-00' may still remain in the database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31143: (Follow-up) Add description to fix_invalid_dates.pl
Bug-31143-Follow-up-Add-description-to-fixinvalidd.patch (text/plain), 921 bytes, created by
Wainui Witika-Park
on 2024-11-04 05:32:52 UTC
(
hide
)
Description:
Bug 31143: (Follow-up) Add description to fix_invalid_dates.pl
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2024-11-04 05:32:52 UTC
Size:
921 bytes
patch
obsolete
>From fbaeb5cce9012f5e5555eef1269939dd9ffb5a10 Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Mon, 4 Nov 2024 18:31:25 +1300 >Subject: [PATCH] Bug 31143: (Follow-up) Add description to > fix_invalid_dates.pl > >--- > misc/maintenance/fix_invalid_dates.pl | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/misc/maintenance/fix_invalid_dates.pl b/misc/maintenance/fix_invalid_dates.pl >index 2da8b1c457e..4a4cf993194 100755 >--- a/misc/maintenance/fix_invalid_dates.pl >+++ b/misc/maintenance/fix_invalid_dates.pl >@@ -27,6 +27,16 @@ use Koha::Script -cron; > use Data::Dumper; > use Koha::Database; > >+=head1 NAME >+ >+fix_invalid_dates.pl - Fix invalid dates >+ >+=head1 DESCRIPTION >+ >+This script fixes any date fields in the database that have '0000-00-00' values (for example: dateofbirth) by updating them to 'NULL'. >+ >+=cut >+ > my $verbose = 0; > my $doit = 0; > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31143
:
154299
|
154399
|
155964
|
168636
|
168770
|
168775
|
168776
|
170086
|
170697
|
170698
|
171812
|
171813
|
171814
|
171815
|
171816
|
171817
|
171918
|
171976
|
171977
|
172138
|
172139
|
172140
|
172141
|
172143
|
172144
|
172145
|
172146
| 173900