Changeset 258586 in webkit
- Timestamp:
- Mar 17, 2020 1:47:44 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py
r258271 r258586 242 242 if not builds: 243 243 return (None, None) 244 builds.sort(key=lambda build: build. started_at, reverse=True)244 builds.sort(key=lambda build: build.number, reverse=True) 245 245 return (builds, is_parent_build) 246 246 -
trunk/Tools/BuildSlaveSupport/ews-build/events.py
r243822 r258586 21 21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 22 23 import calendar 23 24 import datetime 24 25 import json … … 66 67 """ 67 68 if isinstance(obj, datetime.datetime): 68 return int( time.mktime(obj.timetuple()))69 return int(calendar.timegm(obj.timetuple())) 69 70 70 71 raise TypeError("Type %s not serializable" % type(obj)) -
trunk/Tools/ChangeLog
r258574 r258586 1 2020-03-17 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-app] Timestamp shown in status-bubble hover-over message is in future 4 https://bugs.webkit.org/show_bug.cgi?id=196628 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/events.py: 9 (JSONProducer.json_serialize_datetime): Keep the timestamp in UTC, instead of converting it to local time zone. 10 * BuildSlaveSupport/ews-app/ews/views/statusbubble.py: 11 (StatusBubble.get_all_builds_for_queue): Sort the queues based on build number instead of start time, since the 12 timestamps for new builds might be less than timestamps for old builds which completed immediately prior to this change. 13 1 14 2020-03-17 Alex Christensen <achristensen@webkit.org> 2 15
Note: See TracChangeset
for help on using the changeset viewer.