No - of course it's not true. If you work 40 hours a week - you will be working illegally and will be risking having your study permit canceled and being removed from Canada. You can work a maximum of 20 hours a week while studying. Doesn't matter what time of the day you work.