2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-30 22:05:08 +00:00

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>
This commit is contained in:
Lars Hjemli
2008-05-21 08:17:54 +02:00
parent 0f0ab148c6
commit b2a3d31e88
7 changed files with 168 additions and 0 deletions

1
cgit.h
View File

@@ -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"
/*