From 2812c292e0be41bb09010051a92e8433e38f64c8 Mon Sep 17 00:00:00 2001 From: Vysakh Menon Date: Thu, 6 Mar 2025 08:37:38 -0800 Subject: [PATCH] 26282 Tombstone pipeline - appointment date in PST (#3281) --- data-tool/flows/tombstone/tombstone_queries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-tool/flows/tombstone/tombstone_queries.py b/data-tool/flows/tombstone/tombstone_queries.py index b1822af31..0eb8d5b87 100644 --- a/data-tool/flows/tombstone/tombstone_queries.py +++ b/data-tool/flows/tombstone/tombstone_queries.py @@ -380,8 +380,8 @@ def get_parties_and_addresses_query(corp_num): when cp.appointment_dt is null and f.effective_dt is not null then date_trunc('day', f.effective_dt) when cp.appointment_dt is null and f.effective_dt is null then date_trunc('day', e.event_timerstamp) else null - end)::timestamp at time zone 'UTC', 'YYYY-MM-DD HH24:MI:SSTZH:TZM') as cp_appointment_dt_str, - to_char(cp.cessation_dt::timestamp at time zone 'UTC', 'YYYY-MM-DD HH24:MI:SSTZH:TZM') as cp_cessation_dt_str, + end), 'YYYY-MM-DD') as cp_appointment_dt_str, + to_char(cp.cessation_dt, 'YYYY-MM-DD') as cp_cessation_dt_str, cp.last_name as cp_last_name, cp.middle_name as cp_middle_name, cp.first_name as cp_first_name,