Small fix in date.php, casting $opts->typing to boolean, which is what
the JS expects.