Skip to content

Commit

Permalink
Set collection_time_iso
Browse files Browse the repository at this point in the history
  • Loading branch information
spaghettidba committed Feb 16, 2023
1 parent 1a643ef commit f865d6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions XESmartTarget.Core/Utils/XEventDataTableAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ public void ReadEvent(PublishedEvent evt)
{
row.SetField("collection_time", evt.Timestamp.LocalDateTime);
}
if (row.Table.Columns.Contains("collection_time_iso"))
{
row.SetField("collection_time_iso", evt.Timestamp.ToString("o"));
}

foreach (PublishedEventField fld in evt.Fields)
{
Expand Down

0 comments on commit f865d6a

Please sign in to comment.