Previews

No matching results.

x
1
<relative-time format="elapsed" datetime="2038-01-19T03:14:08Z" data-view-component="true">January 19, 2038 03:14</relative-time>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
,
lang: nil,
title: nil
)
render(Primer::Beta::RelativeTime.new(
tense: tense,
prefix: prefix,
second: second,
minute: minute,
hour: hour,
weekday: weekday,
year: year,
time_zone_name: time_zone_name,
threshold: threshold,
precision: precision,
format: :elapsed,
format_style: format_style,
datetime: datetime,
lang: lang,
title: title
))
Param Description Input

app/components/primer/beta/relative_time.ts

1
import '@github/relative-time-element'