diff date.js @ 1:82905edac9d8

Fix some things.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 12 Jul 2011 17:47:32 +0200
parents f62b5c395a48
children
line wrap: on
line diff
--- a/date.js
+++ b/date.js
@@ -57,7 +57,7 @@ Date.prototype.getRelative = function(){
 		return Math.round(month)+" months ago";
 
 	if (day == 1)
-		return "today";
+		return "yesterday";
 	if (day > 1)
 		return Math.round(day)+" days ago";