BUGFIX: wrong date format when detecting sunday