NOBUG: Removed deprecated mktime arg from dayofweek func in moodlelib