15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# File 'lib/chronicle.rb', line 15
def self.default_eras
[
"7 years ago",
"6 years ago",
"5 years ago",
"4 years ago",
"3 years ago",
"2 years ago",
"1 year ago",
"6 months ago",
"5 months ago",
"4 months ago",
"3 months ago",
"2 months ago",
"1 month ago",
"3 weeks ago",
"2 weeks ago",
"1 week ago",
"6 days ago",
"5 days ago",
"4 days ago",
"3 days ago",
"2 days ago",
"1 day ago",
"8 hours ago",
"7 hours ago",
"6 hours ago",
"5 hours ago",
"4 hours ago",
"3 hours ago",
"2 hours ago",
"1 hour ago",
"30 minutes ago",
"20 minutes ago",
"10 minutes ago",
"5 minutes ago",
"3 minutes ago",
"2 minutes ago",
"1 minute ago",
"right now",
"1 minute from now",
"2 minutes from now",
"3 minutes from now",
"5 minutes from now",
"10 minutes from now",
"20 minutes from now",
"30 minutes from now",
"1 hour from now",
"2 hours from now",
"3 hours from now",
"4 hours from now",
"5 hours from now",
"6 hours from now",
"7 hours from now",
"8 hours from now",
"1 day from now",
"2 days from now",
"3 days from now",
"4 days from now",
"5 days from now",
"6 days from now",
"1 week from now",
"2 weeks from now",
"3 weeks from now",
"1 month from now",
"2 months from now",
"3 months from now",
"4 months from now",
"5 months from now",
"6 months from now",
"7 months from now",
"1 year from now",
"2 years from now",
"3 years from now",
"4 years from now",
"5 years from now",
"6 years from now",
"7 years from now",
]
end
|