diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-05-31 12:45:03 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-05-31 12:45:03 +0300 |
| commit | 3a1ae3a30e1418099a71cdc8ea92d5f360b0f65d (patch) | |
| tree | 41e52183c4ec428cf1c91939e145f5d28cc49408 /static | |
| parent | d389d3a7633f88933586b9660b4ad3510b7f98ee (diff) | |
Add a custom timeago.json for shorter timestamps, for example '15s' instead of '15 seconds ago'
Diffstat (limited to 'static')
| -rw-r--r-- | static/timeago.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/timeago.json b/static/timeago.json new file mode 100644 index 00000000..b6f669c2 --- /dev/null +++ b/static/timeago.json @@ -0,0 +1,10 @@ +[ + "now", + ["%ss", "%ss"], + ["%smin", "%smin"], + ["%sh", "%sh"], + ["%sd", "%sd"], + ["%sw", "%sw"], + ["%sm", "%sm"], + ["%sy", "%sy"] +] |
