@@ -43,7 +43,7 @@ def call(payload:, headers:, config:)
4343 message : "Raw payload processed" ,
4444 payload_size : payload . length ,
4545 environment : config . dig ( :opts , :env ) ,
46- timestamp : Time . now . iso8601
46+ timestamp : Time . now . utc . iso8601
4747 }
4848 end
4949 end
@@ -62,7 +62,7 @@ def handle_deployment(payload, config)
6262 deployment_id : payload [ "deployment_id" ] ,
6363 environment : payload [ "environment" ] || config . dig ( :opts , :env ) ,
6464 teams_notified : config . dig ( :opts , :teams ) ,
65- timestamp : Time . now . iso8601
65+ timestamp : Time . now . utc . iso8601
6666 }
6767 end
6868
@@ -83,7 +83,7 @@ def handle_alert(payload, config)
8383 alert_id : payload [ "alert_id" ] ,
8484 level : alert_level ,
8585 channels_notified : config . dig ( :opts , :notify_channels ) ,
86- timestamp : Time . now . iso8601
86+ timestamp : Time . now . utc . iso8601
8787 }
8888 end
8989
@@ -98,7 +98,7 @@ def handle_generic(payload, config)
9898 handler : "Team1Handler" ,
9999 event_type : payload [ "event_type" ] ,
100100 environment : config . dig ( :opts , :env ) ,
101- timestamp : Time . now . iso8601
101+ timestamp : Time . now . utc . iso8601
102102 }
103103 end
104104end
0 commit comments