Merge commit 'refs/top-bases/t/htmlcache/age-epoch' into t/htmlcache/age-epoch
[git/gitweb.git] / .topmsg
blob820e5cd55b0bf977eb073d42fe95a6adcdd79ffc
1 Subject: [PATCH] gitweb: refactor age_string computation
3 To facilitate caching, the age_string function needs to take
4 as its arguments not the actual age in seconds, but the
5 actual unix epoch creation time and the unix epoch to compute
6 the age string against (which defaults to now) instead.
8 To get the old behavior, passing in 0 for the first argument
9 and the age in seconds as the second will suffice.
11 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>