4 ms·
> For the ease of entering time units YAML 1.1 parsed any set of two digits, separated by colons, as a number in sexagesimal (base 60). This is a mind-boggling
by adwn 6y ago
> For the ease of entering time units YAML 1.1 parsed any set of two digits, separated by colons, as a number in sexagesimal (base 60).
This is a mind-boggling level of idiocy. Even leaving aside the MAC address problem, this conversion treats "11:15" (= 675) different from "11:15:00" (= 40500), even though those denote the same time, while treating "00:15:00" (15 minutes past midnight) and "15:00" (3 in the afternoon) the same.
- azernik 6y agoYou know you've fucked up when you have to remove features from the spec (which they did in YAML 1.2).
- imtringued 6y agoOn the other hand, you know that you did well, when a direct competitor would look exactly the same minus some undesired features.