Fixed incorrect relative time value.

TNL-157

Fixed incorrect relative time value.

Added test.