This commit is contained in:
2021-09-15 00:21:52 +00:00
parent 1b1a203c34
commit 20a4267c3c

View File

@@ -75,7 +75,7 @@ namespace AyaNova.Api.Controllers
{ {
if (dt == null) return null; if (dt == null) return null;
DateTimeOffset dto = new DateTimeOffset((DateTime)dt); DateTimeOffset dto = new DateTimeOffset((DateTime)dt);
return dto.ToUnixTimeSeconds(); return dto.ToUnixTimeMilliseconds();
} }
private static string ColorFromWOItem(ViewSchedulePersonalWorkOrder v, PersonalScheduleParams p) private static string ColorFromWOItem(ViewSchedulePersonalWorkOrder v, PersonalScheduleParams p)
@@ -122,6 +122,7 @@ namespace AyaNova.Api.Controllers
{ {
public long? Start { get; set; } public long? Start { get; set; }
public long? End { get; set; } public long? End { get; set; }
public bool Timed { get { return true; } }
public string Name { get; set; } public string Name { get; set; }
public string Color { get; set; } public string Color { get; set; }
public AyaType Type { get; set; } public AyaType Type { get; set; }