R1/R2 fix
This commit is contained in:
@@ -59,7 +59,7 @@ public class T1R1Processor(
|
||||
|
||||
for (var month = 1; month <= 14; month++)
|
||||
{
|
||||
if (month > DateTime.UtcNow.Month && month != 13)
|
||||
if (year != DateTime.UtcNow.Year || (month > DateTime.UtcNow.Month && month != 13))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ public class T4R2Processor(
|
||||
|
||||
for (var month = 1; month <= 12; month++)
|
||||
{
|
||||
if (month <= DateTime.UtcNow.Month)
|
||||
if (year == DateTime.UtcNow.Year && month <= DateTime.UtcNow.Month)
|
||||
{
|
||||
var monthCopy = month;
|
||||
var dataSource = db.Layers.Where(x =>
|
||||
|
||||
Reference in New Issue
Block a user