Tweaked date function in views to be cleaner and display a null value when null is passed in. This saves a lot of null checking for dates in views.