summaryrefslogtreecommitdiff
path: root/sfeed.1
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-07-29 17:42:40 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-07-29 17:42:40 +0200
commit45ecf566374ff536c9cb4da90a39387cceb3ca1e (patch)
treed6d9ef651568e64dcd03390ca6a3939d466bd65c /sfeed.1
parent3b4f656ffb12ff849939f9635f38243718640338 (diff)
update documentation regarding timezone parsing
Clarity CAVEAT concerning timezone parsing, some feeds incorrectly use non-RFC-822 timezones in RSS feeds, this will be interpreted as UTC+0. The formatted time will contain this timezone but without an offset.
Diffstat (limited to 'sfeed.1')
-rw-r--r--sfeed.17
1 files changed, 5 insertions, 2 deletions
diff --git a/sfeed.1 b/sfeed.1
index 77e2682..1b61b6f 100644
--- a/sfeed.1
+++ b/sfeed.1
@@ -23,9 +23,9 @@ removed.
The order and format of the fields are:
.Bl -tag -width 17n
.It Ar item timestamp
-string, UNIX timestamp in GMT+0
+string, UNIX timestamp in UTC+0
.It Ar item timestamp
-string, date and time in the format: YYYY-mm-dd HH:MM:SS tzname[[+-][HHMM]]
+string, date and time in the format: YYYY-mm-dd HH:MM:SS (UTC[+-][HHMM])|tz
.It Ar item title
string
.It Ar item link
@@ -47,3 +47,6 @@ string, "rss" or "atom"
.Xr sh 1
.Sh AUTHORS
.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org
+.Sh CAVEATS
+if a timezone is not supported (non-RFC822) the UNIX timestamp is interpreted
+as UTC+0.