diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-05-21 08:17:54 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-08-01 22:12:34 +0200 |
commit | b2a3d31e8839b53a623b4c99124c2c637d0e3cbb (patch) | |
tree | 7335ff15fdbe92aa0afb31e4a54e2f863760c217 /cgit.h | |
parent | Added `local-time` option to cgitrc (diff) | |
download | cgit-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 '')
-rw-r--r-- | cgit.h | 1 |
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" /* |