# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 30
# self = https://watcher.sour.is/conv/mtm2uiq
I am curious. Why is there no space on 1hr ago, but there is for any other number (any other than 1). Same applies to min, month, etc. is it a lack of space somewhere, or are single minutes, hours, days, etc., normally written without a space from 1?
ping @prologic.
@fastidious The later I think. Thatโ€™s why I did it that way. ๐Ÿ˜† But please correct me if Iโ€™m wrong! (probably am ๐Ÿคฃ)
@fastidious The later I think. Thatโ€™s why I did it that way. ๐Ÿ˜† But please correct me if Iโ€™m wrong! (probably am ๐Ÿคฃ)
@prologic no, I really don't know. Let me research it a bit.
So, there has to be a space, so it) seems. For example:


1 s ago
2 s ago
1 min ago
2 mins ago
1 day ago
2 days ago


And so on.
@fastidious Ok ok fine ๐Ÿคฃ Can you put up a PR? ๐Ÿค” In templates.go

๐Ÿ™‡โ€โ™‚๏ธ
@fastidious Ok ok fine ๐Ÿคฃ Can you put up a PR? ๐Ÿค” In templates.go

๐Ÿ™‡โ€โ™‚๏ธ
@prologic sure thing. Sometime tomorrow. โ€œThe Great British Baking Showโ€ is going, and wifeโ€™s giving me โ€œthe eyeโ€. ๐Ÿ˜š
@fastidious Ok ๐Ÿ˜†
@fastidious Ok ๐Ÿ˜†
@prologic I propose this, which I believe will reduce some code. The last of the references I found on this subject states that โ€œif you are writing about more than one second[minute/hour/day/year], the plural abbreviation is the same as the singularโ€. So, how about:


1s ago
2s ago
1m ago
2m ago
1d ago
2d ago


After 30d ago we simply stop, and show short date and time instead. What do you think?
@fastidious Shouldn't it be after 14 days (or whatever the period after which the posts get archived is)?
@thecanine I really prefer exact time, not the โ€œx y agoโ€, humanised, format. I might be wrong, but I believe you can search for a tag (hash) that might no longer be browsable.
@fastidious Yeah, it'd probably be best if people could swing between those two ways in the settings, if that wouldn't be too hard to implement.
One can probably still search for the older stuff, but at that point it'd be pretty inconsistent, listing it as "X days ago" for some of them and by date for the rest.
Example of old, searchable content.
Even older (and a bug there, @prologic).
@fastidious fixed this one yesterday. https://git.mills.io/yarnsocial/yarn/pulls/502
@fastidious fixed this one yesterday. https://git.mills.io/yarnsocial/yarn/pulls/502
@xuu
> fixed this one yesterday. https://git.mills.io/yarnsocial/yarn/pulls/502

Sorry, what was the fix? Time related, or? I see something about subject on the PR, not sure if I am missing anything.
@fastidious Sounds find to me ๐Ÿ‘Œ
@fastidious Sounds find to me ๐Ÿ‘Œ
fine^
fine^
@prologic the wording I proposed takes more than just changing words, but because the plural isn't longer needed, and the date change after 30d (months and years are not longer used), it will imply logic change. I am not knowledgable enough to make that kind of change.

Would you want me to add it as an issue instead?
@fastidious please ๐Ÿ™‡โ€โ™‚๏ธ
@fastidious please ๐Ÿ™‡โ€โ™‚๏ธ
@prologic alright, issue entered.
@fastidious Thank you ๐Ÿค—
@fastidious Thank you ๐Ÿค—