Invalid literal found for minutesDiff

Fixed bug 55208 in core.

Change-Id: Ic7afd8a11b23d55e5bc9089b041e16bef3ad3d0e