fucking fuck fuck fuck
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a093ceddc8
commit
aa2b07ddc1
@ -21,7 +21,6 @@ namespace hanyadikhetvan.Controllers
|
||||
[HttpGet]
|
||||
public HanyadikHetVan Get()
|
||||
{
|
||||
Console.WriteLine(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"));
|
||||
return new HanyadikHetVan();
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,6 @@ namespace 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user