fix error handling for errors during rendering
better difference handling
parse dates locally for better comparison support