- Handle both DateTime and NaiveDateTime structs from database - Convert NaiveDateTime to UTC DateTime before formatting - Add fallback for string timestamps - Fixes FunctionClauseError when processing packets