| dt2_format_time_relative | R Documentation |
Relative time using moment.fromNow(), with locale
dt2_format_time_relative(options = list(), col_specs, locale = "pt-br")
options |
list of options (returned updated) |
col_specs |
names or indices to format |
locale |
e.g. "pt-br" (requires moment-with-locales) |
The modified options list with an updated columnDefs entry.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.