about summary refs log tree commit diff
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-05-21 08:17:54 +0200
committerLars Hjemli <hjemli@gmail.com>2008-08-01 22:12:34 +0200
commitb2a3d31e8839b53a623b4c99124c2c637d0e3cbb (patch)
tree7335ff15fdbe92aa0afb31e4a54e2f863760c217 /cgit.h
parentAdded `local-time` option to cgitrc (diff)
downloadcgit-pink-b2a3d31e8839b53a623b4c99124c2c637d0e3cbb.tar.gz
cgit-pink-b2a3d31e8839b53a623b4c99124c2c637d0e3cbb.zip
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')
-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"
 
 
 /*