Update xdatetime.js

pass submit formats
Merge remote-tracking branch 'origin/patch-7' into patch-9