Skip to content

Commit 1424341

Browse files
authored
feat: make modified a long sufficiently specific to lose JS number precision (#223)
1 parent e324d68 commit 1424341

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Fakes/OpenActive.FakeDatabase.NET/Models/DatabaseTables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public abstract class Table
2727
[AutoIncrement]
2828
public long Id { get; set; }
2929
public bool Deleted { get; set; }
30-
public long Modified { get; set; } = new DateTimeOffset(DateTime.Today).UtcTicks;
30+
public long Modified { get; set; } = new DateTimeOffset(DateTime.Now).UtcTicks;
3131
}
3232

3333
public static class DatabaseCreator

0 commit comments

Comments
 (0)