#25170 added dateparse.lua with return statement on dateparse variable

Modified commit title to include ticket number - easier to drill down through commits in the future.