Replace UnixTime dependency
This commit is contained in:
parent
3728ae747f
commit
f2c110dad0
|
@ -1,5 +1,4 @@
|
||||||
using System.Text.Json.Nodes;
|
using System.Text.Json.Nodes;
|
||||||
using InnovEnergy.Lib.Time.Unix;
|
|
||||||
using InnovEnergy.Lib.Utils;
|
using InnovEnergy.Lib.Utils;
|
||||||
|
|
||||||
// ReSharper disable StringLiteralTypo
|
// ReSharper disable StringLiteralTypo
|
||||||
|
@ -10,7 +9,7 @@ public readonly partial record struct Installation(VrmAccount VrmAccount, JsonNo
|
||||||
{
|
{
|
||||||
|
|
||||||
public UInt64 IdSite => Json.GetUInt64("idSite");
|
public UInt64 IdSite => Json.GetUInt64("idSite");
|
||||||
public UnixTime Created => Json.GetUInt32("syscreated").Apply(UnixTime.FromTicks);
|
public UInt32 Created => Json.GetUInt32("syscreated");
|
||||||
|
|
||||||
// Settings
|
// Settings
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="../../Utils/Utils.csproj" />
|
<ProjectReference Include="../../Utils/Utils.csproj" />
|
||||||
<ProjectReference Include="../../Time/Time.csproj" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue