Swap username/fullname (the username is the `@'-one!) - gophercgis - Collection of gopher CGI/DCGI for geomyidae
HTML hg clone https://bitbucket.org/iamleot/gophercgis
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR changeset 953bfc8f19f72ee490a2e9dc2a253d0be8cc748b
DIR parent cb9e0cd648b6fe2f6932f5330fb7a3837f1f4143
HTML Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 16 Dec 2018 02:47:06
Swap username/fullname (the username is the `@'-one!)
Diffstat:
twitter/tweets.dcgi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff -r cb9e0cd648b6 -r 953bfc8f19f7 twitter/tweets.dcgi
--- a/twitter/tweets.dcgi Sun Dec 16 02:45:12 2018 +0100
+++ b/twitter/tweets.dcgi Sun Dec 16 02:47:06 2018 +0100
@@ -69,8 +69,8 @@
id = t["item_id"]
desc = sprintf("%s @%s %s",
+ t["item_fullname"],
t["item_username"],
- t["item_fullname"],
strftime("%Y-%m-%d %H:%M", t["timestamp"]))
gsub("\\|", "\\|", desc)