From aa2b07ddc1da3b19cc553f8be9e1b531c90ccfa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 9 Feb 2021 14:49:21 +0100 Subject: [PATCH] fucking fuck fuck fuck --- Controllers/HanyadikHetVanController.cs | 1 - HanyadikHetVan.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Controllers/HanyadikHetVanController.cs b/Controllers/HanyadikHetVanController.cs index dd2a048..3882fad 100644 --- a/Controllers/HanyadikHetVanController.cs +++ b/Controllers/HanyadikHetVanController.cs @@ -21,7 +21,6 @@ namespace hanyadikhetvan.Controllers [HttpGet] public HanyadikHetVan Get() { - Console.WriteLine(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")); return new HanyadikHetVan(); } } diff --git a/HanyadikHetVan.cs b/HanyadikHetVan.cs index c2a9a02..aa9ddbf 100644 --- a/HanyadikHetVan.cs +++ b/HanyadikHetVan.cs @@ -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; } }