wip: finish converting some more projects

This commit is contained in:
2021-07-20 14:54:11 -04:00
parent 1b32317e09
commit da7f2f2709
38 changed files with 167 additions and 819 deletions

View File

@@ -0,0 +1,20 @@
using Newtonsoft.Json;
namespace Habittodo.Model.Todoist
{
public class Due
{
[JsonProperty("date")]
public string Date { get; set; }
[JsonProperty("timezone")]
public string Timezone { get; set; }
[JsonProperty("string")]
public string @String { get; set; }
public string ToJavaScriptDateStr()
{
try { return Date + "T00:00:00.000Z"; } catch { }
return null;
}
}
}