Bugzilla – Attachment 187282 Details for
Bug 36466
Incorrect date value stored when "Published on" or "Expected on" are empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36466: (follow-up) Use NULL for blank planned and published dates instead of today
Bug-36466-follow-up-Use-NULL-for-blank-planned-and.patch (text/plain), 1.06 KB, created by
Hammat wele
on 2025-10-02 13:44:42 UTC
(
hide
)
Description:
Bug 36466: (follow-up) Use NULL for blank planned and published dates instead of today
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2025-10-02 13:44:42 UTC
Size:
1.06 KB
patch
obsolete
>From ccef6c8a9874b86499b630cd77d550a57b652325 Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Thu, 2 Oct 2025 13:43:08 +0000 >Subject: [PATCH] Bug 36466: (follow-up) Use NULL for blank planned and > published dates instead of today > >--- > serials/serials-edit.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl >index 53bb704873b..f497f4157e9 100755 >--- a/serials/serials-edit.pl >+++ b/serials/serials-edit.pl >@@ -209,10 +209,10 @@ if ( $op and $op eq 'cud-serialchangestatus' ) { > my ( $plan_date, $pub_date ); > > if ( defined $planneddates[$i] && $planneddates[$i] ne 'XXX' ) { >- $plan_date = $planneddates[$i] || $today; >+ $plan_date = $planneddates[$i] || undef; > } > if ( defined $publisheddates[$i] && $publisheddates[$i] ne 'XXX' ) { >- $pub_date = $publisheddates[$i] || $today; >+ $pub_date = $publisheddates[$i] || undef; > } > > if ( $serialids[$i] && $serialids[$i] eq 'NEW' ) { >-- >2.34.1
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 36466
:
164153
|
164155
|
164156
|
164254
|
164255
|
164306
|
164307
|
166601
|
166602
|
186057
|
186058
| 187282