Theme
TimeAgo

You've opened this page .

PrimeFaces Extensions was first released .

To copy / paste translations, have a look at https://github.com/rmm5t/jquery-timeago/tree/master/locales
Source

                    <script>
  PrimeFacesExt.locales.TimeAgo['nl'] = {
    prefixAgo: null,
    prefixFromNow: "over",
    suffixAgo: "geleden",
    suffixFromNow: null,
    seconds: "minder dan een minuut",
    minute: "ongeveer een minuut",
    minutes: "%d minuten",
    hour: "ongeveer een uur",
    hours: "ongeveer %d uur",
    day: "een dag",
    days: "%d dagen",
    month: "ongeveer een maand",
    months: "%d maanden",
    year: "ongeveer een jaar",
    years: "%d jaar",
    wordSeparator: " ",
    numbers: []
  }
</script>

<p>
    You've opened this page
    <pe:timeAgo value="#{basicTimeAgoController.created}"
                locale="nl" style="font-weight:bold"/>.
</p>
<p>
    PrimeFaces Extensions was first released
    <pe:timeAgo value="#{basicTimeAgoController.firstRelease}"
                locale="nl" style="font-weight:bold"/>.
</p>
                
Components and more
Documentation pe:timeAgo
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding An el expression referring to a server side UIComponent instance in a backing bean.
value Date, ZonedDateTime or LocalDateTime object to render.
widgetVar Name of the client side widget.
styleClass Style class of the main container element. Default value is null.
style Style of the main container element. Default value is null.
locale String or java.util.Locale representing user locale. Default is a locale specified in view root.
titlePattern Pattern defining how the date object should be formatted in the HTML title attribute.
PrimeFaces Extensions Showcase - © 2011-2021,PrimeFaces: 11.0.0,PrimeFaces Extensions: 11.0.0,JSF: Apache MyFaces JSF-2.3 Core API 2.3.9,Server: jetty/9.4.36.v20210114,Build time: 2021-12-10 14:32
occured!