Hey Stephen, sorry for the delayed response. Unfortunately Date Literals don’t work with conditional rendering at this time :'(
The good news is that this is one of the higher priority items on our list. We’ll let you now when there’s a fix, and any workarounds that come to our attention.