> Unix time is the number of seconds since 1 January 1970 00:00:00 UTC
Is true regardless of the calender or leap seconds. Think of seconds in terms of some physical phenomena, like how many times a certain atom trapped in a crystal lattice vibrates and you see that doesn't depend on the calendar. Converting Unix time to local time obviously has to take that into account, but we still need an absolute measure of our progress does the timeline which is what Unix time provides.
This is why we use Unix time, it's the same everywhere and nothing short of relativity can affect it.