Yaml WTF
02 November 2008
x comments
What do you suppose this evaluates to in Ruby YAML:
YAML.load("18:00")
The string "18:00"? The hash {18 => 0} ? Wrong. The answer is: 1080.
Why? Sexagesimal of course! As used by the ancient Sumerians.
@danlucraft