fix compile on enabled data-time check