write parsed date
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2021-02-09 15:33:22 +01:00
parent c25b2a92fe
commit e93f188390

View File

@ -7,6 +7,7 @@ namespace hanyadikhetvan
{ {
public class HanyadikHetVan public class HanyadikHetVan
{ {
public int HanyadikHet => DateTime.Now.Subtract(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))).Days / 7; # public int HanyadikHet => DateTime.Now.Subtract(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))).Days / 7;
public DateTime HanyadikHet => DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"));
} }
} }