nl_tokens: / * 0 seconds && < 60 seconds Now 60 seconds 1 Minute > 60 seconds && < 60 minutes X Minutes 60 minutes 1 Hour > 60 minutes && < 24 hours X Hours 24 hours 1 Day > 24 hours && < 7 days X Days 7 days 1 Week > 7 days && < ~ 1 Month X Weeks ~ 1 Month 1 Month > ~ 1 Month && < 1 Year X Months 1 Year 1 Year > 1 Year X Years
pl_tokens: function normalize ( val , single ) { var margin = 0.1 ; if ( val >= single && val <= single * ( 1 + <mask> ) ) { return single ; } return val ; }