bug: Fix date formatting issues
Merge pull request #944 from protich/issue/942

Fix date formatting issues

Reviewed-By: Jared Hancock <jared@osticket.com>
Reviewed-By: @hawkhead99