German has a similar quirk, though weirdly reversed: “Am Morgen”, “Am Nachmittag”, “In der Nacht”
It doesn’t really come up when taking times though, since we commonly just use “6 Uhr morgens”, “3 Uhr nachmittags”*, “12 Uhr nachts”, without any preposition and article.
*24h time is also seldom used in casual conversation in Germany
German has a similar quirk, though weirdly reversed: “Am Morgen”, “Am Nachmittag”, “In der Nacht”
It doesn’t really come up when taking times though, since we commonly just use “6 Uhr morgens”, “3 Uhr nachmittags”*, “12 Uhr nachts”, without any preposition and article.
*24h time is also seldom used in casual conversation in Germany