temporary solution for incorrect ionic date