andrewplummer/Sugar — pull request #126 by erikreedstrom (2012-03-29 19:25:38+00:00)
Title: Fix for issue # 125

When creating date with timezone offset of ±00:00 the check for offset_minutes and offset_hours resolved to false since the values were 0. This prevented the date from being treated as relative to utc.

Changed the check to verify values are not undefined or null.