I recently started my career in a small firm as a software developer. During the freshers' onboarding process, the HR told me that the standard working hours would be 9:30 to 18:00 (8.5 hours).
As I started working on the project, it became necessary to extend my working time from 8.5 hours to 10, or even 11, hours. The manager asked for it as we had limited time to deliver the project. I wasn't concerned about the extended working hours (without any allowance) as the project was interesting and I could learn a lot about the domain.
Due to the extended working hours and a long commute (one hour each in the morning and in the evening), I couldn't punch in at the right time. My punch in time is usually between 9:30 and 10:30.
I recently got a mail from HR stating that I am not adhering to the company policies, and I should be reporting on time. It also stated that if this continues, strict action would be considered.
I talked to my manager about it. He politely tried to explain the HR's point of view, which I agreed to halfheartedly. He also replied to the HR stating the amount of hours I work per day and requested them to reconsider my case.
I have since received another mail from HR stating that they would enforce LOP (Loss of Pay) if I fail to punch in on time. When I discussed this with my manager, he asked me to better stick to the timings and get the job done in time, which is a challenging due to the limited resources.
In this situation, should I continue to put in efforts beyond the extended hours, or just adhere to the company's policies?