User talk:Petelomax: Difference between revisions

(added a "welcome" section for the 1st topic, added a comment about a recent Phix entry.)
Line 119:
 
Your '''Phix''' programming solution was   ''exactly''   the minimalist type of entry that I was aiming for in regards to that task's requirements.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:10, 24 March 2020 (UTC)
:Heh, originally I had it doing this:
<lang Phix>fmt = """Last revision: %s (%s)...
include builtins\timedate.e
timedate td = parse_date_string(last_updated,{"Mmmm dth, yyyy"})
atom d = timedate_diff(td,date(),DT_DAY)
string age = iff(d=0?"today":elapsed(d)&" ago")
 
printf(1,fmt,{last_updated,age,length(elements),elements[$]})</lang>
: before deciding that stuff just gets in the way. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 21:52, 24 March 2020 (UTC)
7,806

edits