Extractdate Func correction.

This commit is contained in:
Marco Kittel 2025-06-26 19:14:42 +02:00
parent 977f71385f
commit a998aabb24
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ func IsFilenameValid(filename string) bool {
} }
func ExtractDateAndConvertToDate(filename string) (time.Time, error) { func ExtractDateAndConvertToDate(filename string) (time.Time, error) {
dateStr := filename[0:24] dateStr := filename[0:25]
t, err := RFC3339StringToTime(dateStr) t, err := RFC3339StringToTime(dateStr)
if err != nil { if err != nil {
return t, err return t, err