aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rssg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rssg')
-rwxr-xr-xbin/rssg28
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/rssg b/bin/rssg
index 2d22a1a..e150bea 100755
--- a/bin/rssg
+++ b/bin/rssg
@@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
set -e
-set -x
+# set -x
[ -z "$RSSG_DATE_IMPL" ] && RSSG_DATE_IMPL="GNU"
@@ -120,19 +120,19 @@ rel_to_abs_urls() {
date_rfc_822() {
- _format='+%a, %d %b %Y %H:%M:%S %z'
- _date="$1"
- case "$RSSG_DATE_IMPL" in
- "BSD")
- _date="$(echo "$1" | tr -cd '[:digit:]')0000"
- date -j "$_format" "$_date"
- ;;
- "GNU")
- date -d "$_date" "$_format"
- ;;
- *)
- ;;
- esac
+ _format='+%a, %d %b %Y %H:%M:%S %z'
+ _date="$1"
+ case "$RSSG_DATE_IMPL" in
+ "BSD")
+ _date="$(echo "$1" | tr -cd '[:digit:]')0000"
+ date -j "$_format" "$_date"
+ ;;
+ "GNU")
+ date -d "$_date" "$_format"
+ ;;
+ *)
+ ;;
+ esac
}