UN climate talks extended due to sticking points
Thousands of delegates worked well past the official deadline for reaching a deal but key sticking points remain.
Rows continue over the issue of paying poorer countries for damage caused by global warming and the use of carbon markets to reduce emissions.
The likelihood of a deal increased on Friday after a new text was released.
The outline decision contains plans for a common rulebook for all countries, with flexibility for poorer nations.
There are also calls for all countries to increase their carbon cutting commitments by 2020.
But many issues are not yet settled, as developing countries seek recognition and compensation for the impact of rising temperatures.
The idea of being legally liable for causing climate change has long been rejected by richer nations, who fear huge bills well into the future.