Try fix time offset serialization issues (#17580)

This commit is contained in:
Leon Friedrich
2023-06-26 08:36:35 +12:00
committed by GitHub
parent 082aed2f5a
commit 6f76ae4720
5 changed files with 11 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ public sealed class AnomalyPulsingComponent : Component
/// The time at which the pulse will be over.
/// </summary>
[DataField("endTime", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan EndTime = TimeSpan.MaxValue;
public TimeSpan EndTime;
/// <summary>
/// How long the pulse visual lasts