Date - time element isn't shown properly