Fix the date logic

2 jobs for rewrite in 3 minutes and 40 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #9527
build

00:01:57

 
  Test
passed #9528
unitTests

00:01:43