This commit is contained in:
@@ -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; }
|
||||||
|
|||||||
Reference in New Issue
Block a user