gallery-torelativetime Module
Provides a method Y.toRelativeTime(Date, refDate) to translate a Date instance to a string like "2 days ago". If the second parameter is provided, the time delta is in reference to this date.
This module provides the following classes: