diff --git a/jquery.timeago.js b/jquery.timeago.js index 9e05568..8035f19 100644 --- a/jquery.timeago.js +++ b/jquery.timeago.js @@ -87,7 +87,7 @@ s = s.replace(/\.\d\d\d+/,""); // remove milliseconds s = s.replace(/-/,"/").replace(/-/,"/"); s = s.replace(/T/," ").replace(/Z/," UTC"); - s = s.replace(/([\+-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400 + s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400 return new Date(s); }, datetime: function(elem) {