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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |37902

--- Comment #7 from Jonathan Druart <[email protected]> ---
(In reply to Jonathan Druart from comment #3)
> (In reply to Jonathan Druart from comment #2)
> > This should actually work in most places. It does not work however for
> > checkouts because we are using AddIssue instead of the usual
> > Koha::Object->new_from_api
> 
> It does not work, even on top of bug 37902:
> 
> If I POST /api/v1/patrons
> 
>         "last_seen": "2024-09-12T03:29:05-04:00",
> response is
> 
>     "last_seen": "2024-09-12T03:29:05-03:00",
> 
> and in DB: lastseen: 2024-09-12 03:29:05

To clarify, this is fixed by bug 37902:

in $KOHA_CONF
403  <timezone>America/Argentina/Buenos_Aires</timezone>

Without 37902:
POST        "last_seen": "2024-09-12T03:29:05-01:00",
response    "last_seen": "2024-09-12T03:29:05-03:00",
DB has "2024-09-12 03:29:05"

With 37902:
POST        "last_seen": "2024-09-12T03:29:05-01:00",
response    "last_seen": "2024-09-12T01:29:05-03:00",
DB has "2024-09-12 01:29:05"


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37902
[Bug 37902] Timezone ignored when passing rfc3339 formatted date (search 'q')
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to