From 92d2dabaf84cb0350b42a84d682132015d3e46d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 9 Feb 2021 15:40:45 +0100 Subject: [PATCH] gecistepsi --- HanyadikHetVan.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HanyadikHetVan.cs b/HanyadikHetVan.cs index bc7037a..c2a9a02 100644 --- a/HanyadikHetVan.cs +++ b/HanyadikHetVan.cs @@ -7,7 +7,6 @@ namespace hanyadikhetvan { public class HanyadikHetVan { -# public int HanyadikHet => DateTime.Now.Subtract(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))).Days / 7; - public DateTime HanyadikHet => DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE")); + public int HanyadikHet => DateTime.Now.Subtract(DateTime.Parse(Environment.GetEnvironmentVariable("HANYADIKHET_STARTDATE"))).Days / 7; } }