Update xdatetime.js

pass submit formats