Fix platform specific condition for today plugin