Dont understand date in .yml file

What happens

I don’t understand the date that should be posted in the .yml file, considering that the commit date is generated after the commit is made, so after de .yml file is saved.

What do you understand or find about that problem

I have read all documentation and it says that the date should be the commit-date that I will find in the git log, but still not understanding how could I put a commit date, before the commit.

Did you try any workaround? What did you do?

I have tried putting an approximated date of the commit, however, it requires also the time, so I don’t know if this approximation is correct.

Evidences

The text of the documentation that explains it:

Imagen1

I need help with

To know if it is correct to put an approximated date and time, or should I do something different.

3 Likes

Hi,

This is part of the immersion, however I will give you a little hint. You can start studying more about git intermediate, git rebase, squash and the like.

3 Likes

the date that you must put in the .yml is the date when you uploaded the .yml file, that is, if you uploaded it today, then you put today’s date, check if you are putting the date and time in the correct order.