diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-04-23 13:39:42 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-04-23 13:39:42 -0400 |
commit | 2c74f09bb870c717669f273ba7d4aa1637dcccf1 (patch) | |
tree | e2d266db63a142b0701b190b2edf49220c9b28bc /debian | |
parent | 86d6b40070023409882a5768a4db899e523bba71 (diff) | |
download | ikiwiki-2c74f09bb870c717669f273ba7d4aa1637dcccf1.tar ikiwiki-2c74f09bb870c717669f273ba7d4aa1637dcccf1.tar.gz |
relativedate: Deal with clock skew.
If the server has a clock running a bit ahead of the web browsing client,
relativedate could cause somewhat confusing displays like "3 seconds from now"
for just posted things.
As a hack, avoid displaying times in the future if they're less than a
small slip forward. I chose 30 minutes because both client and server could
be wrong in different directions, while it's still close enough that "just
now" is not horribly wrong.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index ba3042af0..fbfed0007 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ ikiwiki (3.11) UNRELEASED; urgency=low allowing the admin to see it during wiki setup. Closes: #520015 * websetup: If setup fails, restore old setup file. + * relativedate: Deal with clock skew. -- Joey Hess <joeyh@debian.org> Tue, 21 Apr 2009 21:41:38 -0400 |