Admin datetime bug fix