View | Details | Raw Unified | Return to bug 29901
Collapse All | Expand All

(-)a/branches/ucs-3.1/ucs/virtualization/univention-virtual-machine-manager-daemon/umc/js/uvmm/SnapshotGrid.js (+1 lines)
 Lines 55-60   define([ Link Here 
55
					name: 'label',
55
					name: 'label',
56
					label: _('Name')
56
					label: _('Name')
57
				}, {
57
				}, {
58
					width: '17ex',
58
					name: 'time',
59
					name: 'time',
59
					label: _('Date')
60
					label: _('Date')
60
				}],
61
				}],
(-)a/branches/ucs-3.1/ucs/virtualization/univention-virtual-machine-manager-daemon/umc/python/uvmm/snapshots.py (-1 / +5 lines)
 Lines 71-77   class Snapshots( object ): Link Here 
71
				if success and data.snapshots is not None:
71
				if success and data.snapshots is not None:
72
					for name, info in data.snapshots.items():
72
					for name, info in data.snapshots.items():
73
						creation = datetime.fromtimestamp( info.ctime )
73
						creation = datetime.fromtimestamp( info.ctime )
74
						snapshot = { 'id' : name, 'label' : name, 'time' : creation.strftime( "%x %X" )  }
74
						snapshot = {
75
								'id': name,
76
								'label': name,
77
								'time': creation.isoformat(' '),
78
								}
75
						snapshot_list.append( snapshot )
79
						snapshot_list.append( snapshot )
76
80
77
				self.finished( request.id, snapshot_list )
81
				self.finished( request.id, snapshot_list )

Return to bug 29901