diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 628500c..502fbc9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,7 +40,7 @@ jobs: # Upload the release build artifacts - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: FATXTools-Release path: FATXTools/bin/Release/ diff --git a/FATX/Analyzers/MetadataAnalyzer.cs b/FATX/Analyzers/MetadataAnalyzer.cs index c8c6bfa..8c1cd84 100644 --- a/FATX/Analyzers/MetadataAnalyzer.cs +++ b/FATX/Analyzers/MetadataAnalyzer.cs @@ -256,7 +256,7 @@ private bool IsValidDateTime(TimeStamp dateTime) return false; } - if (dateTime.Day > MaxDays[dateTime.Month - 1]) + if (dateTime.Day > MaxDays[dateTime.Month - 1] || dateTime.Day < 1) { return false; }