Re: [3/4] jscript: Simplify date_to_string and add basic tests.