Recently I was given a task, rather I choose to do it as no one else was doing it and I had no idea how to do it but that is how I.T. works. Overtime was approved and I spend a weekend (a few hours) learning it, and eventually doing it but it took me a whole day and whole night to do and still ongoing. I have to fill in overtime, do I put in hours I took to learn e.g 3 hours + 12 hours. Can the manager ask me why it took you so long to do it?
Background: I am a senior developer who is on his last month of probation and I do not have any say or do in the project, when stuff get out of hands. I m the person e.g the task was done by a junior dev who has no research value into which plugins to choose. It limited our business model of doing things, so I recommended we should do our own version as there wasn't any "free" functionality like plugin available. so everyone agreed. I been working nights since Friday to do it and finally in a good shape, but this has caused me a lot of stress as the work I did overnight could have to be done in a week to 2 week time if the decision were put made in light of senior developer and it could harm my probation chances as my manager is on deadline today and I m still a little behind which again leaves me stress.
In this scenario, is it fine to ask overtime including what you learnt and as I did it very slowly because of first time.