This relative time plugin includes all supported locales. Uses moment.js to display a date and time of your choice relative to the current time. This even works for future dates.
Free
For everyone
stars • 0 ratings
216 installs
This plugin does not collect or track your personal data.
- Drag the "Relative Time" element on to your Bubble page. Keep it visible (it doesn't actually show up in view mode).
- In the Properties pane, specify a value in the 'Date' property. This is the date and time you wish to compare to the current date and time. It can be a database date field, e.g. Comment's Creation date. It can also be the value of a date input. - Optionally specify a refresh interval in milliseconds. If you leave blank, the relative time will refresh when a related field or value changes or when the page is reloaded. If you do specify a value, the relative time will be auto-refreshed at the frequency you specify. Use with caution as refreshing too frequently may hinder performance or have unexpected consequences.
Types
This plugin can be found under the following types: