author | Lars Hjemli <hjemli@gmail.com> | 2008-08-06 07:50:10 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-08-06 07:50:10 (UTC) |
commit | e352a013aed6e925a10a92916500c7deccf1410a (patch) (unidiff) | |
tree | 7c49bf453bee4f624025d62bae92b4926bf83bfe /cgit.h | |
parent | 3c71f597cc932992d5c44196e90f4675a1d54e77 (diff) | |
parent | b2a3d31e8839b53a623b4c99124c2c637d0e3cbb (diff) | |
download | cgit-e352a013aed6e925a10a92916500c7deccf1410a.zip cgit-e352a013aed6e925a10a92916500c7deccf1410a.tar.gz cgit-e352a013aed6e925a10a92916500c7deccf1410a.tar.bz2 |
Merge branch 'lh/atom'
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,24 +15,25 @@ | |||
15 | #include <revision.h> | 15 | #include <revision.h> |
16 | #include <log-tree.h> | 16 | #include <log-tree.h> |
17 | #include <archive.h> | 17 | #include <archive.h> |
18 | #include <xdiff/xdiff.h> | 18 | #include <xdiff/xdiff.h> |
19 | #include <utf8.h> | 19 | #include <utf8.h> |
20 | 20 | ||
21 | 21 | ||
22 | /* | 22 | /* |
23 | * Dateformats used on misc. pages | 23 | * Dateformats used on misc. pages |
24 | */ | 24 | */ |
25 | #define FMT_LONGDATE "%Y-%m-%d %H:%M:%S (%Z)" | 25 | #define FMT_LONGDATE "%Y-%m-%d %H:%M:%S (%Z)" |
26 | #define FMT_SHORTDATE "%Y-%m-%d" | 26 | #define FMT_SHORTDATE "%Y-%m-%d" |
27 | #define FMT_ATOMDATE "%Y-%m-%dT%H:%M:%SZ" | ||
27 | 28 | ||
28 | 29 | ||
29 | /* | 30 | /* |
30 | * Limits used for relative dates | 31 | * Limits used for relative dates |
31 | */ | 32 | */ |
32 | #define TM_MIN 60 | 33 | #define TM_MIN 60 |
33 | #define TM_HOUR (TM_MIN * 60) | 34 | #define TM_HOUR (TM_MIN * 60) |
34 | #define TM_DAY (TM_HOUR * 24) | 35 | #define TM_DAY (TM_HOUR * 24) |
35 | #define TM_WEEK (TM_DAY * 7) | 36 | #define TM_WEEK (TM_DAY * 7) |
36 | #define TM_YEAR (TM_DAY * 365) | 37 | #define TM_YEAR (TM_DAY * 365) |
37 | #define TM_MONTH (TM_YEAR / 12.0) | 38 | #define TM_MONTH (TM_YEAR / 12.0) |
38 | 39 | ||