fucking fuck fuck fuck
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-02-09 14:49:21 +01:00
parent a093ceddc8
commit aa2b07ddc1
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,6 @@ namespace hanyadikhetvan.Controllers
[HttpGet] [HttpGet]
public HanyadikHetVan Get() public HanyadikHetVan Get()
{ {
Console.WriteLine(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"));
return new HanyadikHetVan(); return new HanyadikHetVan();
} }
} }

View File

@ -7,6 +7,6 @@ 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("2020-02-08")).Days / 7;
} }
} }