User:NaomiAmethyst/TimeAgoPseudoCode

{{#ifexpr:Seconds_ago < 5| just now {{#ifexpr:Seconds_ago < 60| {{#expr:Seconds_ago}} seconds ago | 		{{#ifexpr:Minutes_ago < 1| about a minute ago | 			{{#ifexpr:Minutes_ago < 60| {{#expr:Minutes_ago}} minutes ago | 				{{#ifexpr:Hours_ago < 2| about an hour ago | 					{{#ifexpr:Days_ago < 1| {{#expr:Hours_ago}} hours ago | 						{{#ifexpr:Days_ago < 7| Day at Time | 							Date at Time }					}}				}}			}}		}}	}} }}