gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] branch master updated: rssg


From: gnunet
Subject: [www] branch master updated: rssg
Date: Mon, 04 Nov 2019 17:53:48 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository www.

The following commit(s) were added to refs/heads/master by this push:
     new 84bd8b1  rssg
84bd8b1 is described below

commit 84bd8b1bf331ca57074d97f7ff2c73cc07af2b02
Author: ng0 <address@hidden>
AuthorDate: Mon Nov 4 16:51:02 2019 +0000

    rssg
---
 rssg | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/rssg b/rssg
index 721fc28..05ca943 100755
--- a/rssg
+++ b/rssg
@@ -125,9 +125,6 @@ rel_to_abs_urls() {
 
 
 date_rfc_822() {
-#        perl -MPOSIX -le 'print strftime "%a, %d %b %Y %H:%M:%S %z", 
(localtime "$1");'
-#        x="$(echo "$1"| tr -cd '[:digit:]')0000"
-#        awk -v a="$x" '{print strftime("%a, %d %b %Y %H:%M:%S %z", x)}'
          if date --version >/dev/null 2>&1; then
              in="$(echo "$1"| tr -cd '[:digit:]')0000"
              year=$(echo $in | cut -c1-4)
@@ -135,7 +132,6 @@ date_rfc_822() {
              day=$(echo $in | cut -c7-8)
              hour=$(echo $in | cut -c9-10)
              minute=$(echo $in | cut -c11-12)
-            # date '+%a, %d %b %Y %H:%M:%S %z' "$(echo "$year"-"$month"-"$day" 
"$hour":"$minute")"
              date -d "$(echo "$year"-"$month"-"$day" "$hour":"$minute")" 
--rfc-822
        else
            date -j '+%a, %d %b %Y %H:%M:%S %z' \

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]