summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2008-05-21 06:17:54 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-08-01 20:12:34 (UTC)
commitb2a3d31e8839b53a623b4c99124c2c637d0e3cbb (patch) (side-by-side diff)
tree7335ff15fdbe92aa0afb31e4a54e2f863760c217 /cgit.h
parent0f0ab148c6d444316af10e6b4c7a60630fed45d3 (diff)
downloadcgit-b2a3d31e8839b53a623b4c99124c2c637d0e3cbb.zip
cgit-b2a3d31e8839b53a623b4c99124c2c637d0e3cbb.tar.gz
cgit-b2a3d31e8839b53a623b4c99124c2c637d0e3cbb.tar.bz2
Add atom-support
This enables a page which generates atom feeds for the current branch and path, heavily inspired by the atom-support in gitweb. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index b01fa31..a1fa841 100644
--- a/cgit.h
+++ b/cgit.h
@@ -24,6 +24,7 @@
*/
#define FMT_LONGDATE "%Y-%m-%d %H:%M:%S (%Z)"
#define FMT_SHORTDATE "%Y-%m-%d"
+#define FMT_ATOMDATE "%Y-%m-%dT%H:%M:%SZ"
/*