Wrote naive escape_characters function and test, discovered bug on custom set time