Windows treats the last period in a file name as the separator between the name and the file extension. Anything after that final period is interpreted as the extension, not as part of the visible name.
When a name like 5.26.26 is entered for an image, File Explorer interprets:
-
5.26 as the file name
-
.26 as the extension
Because .26 is not a valid or recognized extension for that file type, Windows effectively hides or normalizes it, so the file appears as 5.26 in File Explorer. When a space is added (for example, 5.26.26 or 5.26.26 img), the last period is no longer directly followed by the extension characters, so the name is kept as typed.
To keep the full date visible and stable in the name, use one of these patterns that avoid a trailing period before the real extension:
-
2026-05-26_01 or 2026-05-26-01
-
5-26-26
-
5.26-26
-
5.26.26-1 (any extra character after the last period before the real extension)
Or, if the image already has an extension like .jpg, explicitly include it when renaming, for example:
In that case, 5.26.26 is the file name and .jpg is the extension, so nothing disappears.
References: