You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time.prototype.compareDateOnlyTz() has this comment
/**
* Compares only the date part of this instance with another one.
*
* @param {Duration} other The instance to compare with
* @param {Timezone} tz The timezone to compare in
* @return {Number} -1, 0 or 1 for less/equal/greater
*/
compareDateOnlyTz(other, tz)
so other is supposed to be of type Duration. But test/time_test.js calls several times compareDateOnlyTz, passing as first parameter the result of Time.fromString(), thus a Time object.
Adjust the type of the other parameter above to Time
The text was updated successfully, but these errors were encountered:
Time.prototype.compareDateOnlyTz() has this comment
so
other
is supposed to be of type Duration. But test/time_test.js calls several times compareDateOnlyTz, passing as first parameter the result ofTime.fromString()
, thus aTime
object.Time
The text was updated successfully, but these errors were encountered: