Skip to content

Optionally set a cutoff message.#157

Open
aduane wants to merge 1 commit intormm5t:masterfrom
aduane:master
Open

Optionally set a cutoff message.#157
aduane wants to merge 1 commit intormm5t:masterfrom
aduane:master

Conversation

@aduane
Copy link

@aduane aduane commented Jan 3, 2014

Displaying a lot of dates together and using the cutoff setting produces a very inconsistent look. (Some are words, some are dates) This will allow you to benefit from the cutoff feature, but have everything in words.

If you set the cutoffMessage setting to a string, that string will
be displayed before the text version of your cutoff date.
e.g.: {cutoffMessage: "over", cutoff: 7_24_60_60_1000} will produce
"over 7 days ago".

If you set the cutoffMessage setting to a string, that string will
be displayed before the text version of your cutoff date.
e.g.: {cutoffMessage: "over", cutoff: 7*24*60*60*1000} will produce
"over 7 days ago".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant