A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
Shell
fix(support): match outreach cutoffs to report timezone
Rudy Celeklia37ee1cbcaab
diff --git a/support/support-support-responder.md b/support/support-support-responder.mdindex 52db5be2..75ceb008 100644--- a/support/support-support-responder.md+++ b/support/support-support-responder.md@@ -263,9 +263,13 @@ class SupportAnalytics:"""Identify customers for proactive support outreach"""+ # Match the report's timestamp timezone; naive reports stay naive.+ # Reuse one instant for all outreach windows.+ now = datetime.now(tz=self.data['created_date'].dt.tz)+# Customers with multiple recent ticketsfrequent_reporters = self.data[- self.data['created_date'] >= datetime.now() - timedelta(days=30)+ self.data['created_date'] >= now - timedelta(days=30)].groupby('customer_id').size()high_volume_customers = frequent_reporters[frequent_reporters >= 3].index.tolist()@@ -273,13 +277,13 @@ class SupportAnalytics:# Customers with low satisfaction scoreslow_satisfaction = self.data[(self.data['csat_score'] <= 3) &- (self.data['created_date'] >= datetime.now() - timedelta(days=7))+ (self.data['created_date'] >= now - timedelta(days=7))]['customer_id'].unique()# Customers with unresolved tickets over SLAoverdue_tickets = self.data[(self.data['status'] != 'resolved') &- (self.data['created_date'] <= datetime.now() - timedelta(hours=48))+ (self.data['created_date'] <= now - timedelta(hours=48))]['customer_id'].unique()return {@@ -599,4 +603,4 @@ You're successful when:----**Instructions Reference**: Your detailed customer service methodology is in your core training - refer to comprehensive support frameworks, customer success strategies, and communication best practices for complete guidance.\ No newline at end of file+**Instructions Reference**: Your detailed customer service methodology is in your core training - refer to comprehensive support frameworks, customer success strategies, and communication best practices for complete guidance.