Is tolerate used to mean the same thing in the next two sentences?

He learned to tolerate the heat.

I can tolerate working on Saturdays, but not on Sundays.
the same meaning