[Pkg-mozext-commits] [sage-extension] 08/49: comments and cleanup

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag sage_1_3_10
in repository sage-extension.

commit 0b3330488aa559726462c21ec7e77553bff46e65
Author: Peter Andrews <petea at jhu.edu>
Date:   Mon May 9 04:23:06 2005 +0000

    comments and cleanup
---
 src/sage/content/feedlib.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/sage/content/feedlib.js b/src/sage/content/feedlib.js
index a27dc6b..d357d2c 100644
--- a/src/sage/content/feedlib.js
+++ b/src/sage/content/feedlib.js
@@ -417,8 +417,7 @@ FeedItem.prototype.getPubDate = function() {
  */
  
 // Parses an RFC 822 formatted date string and returns a JavaScript Date object, returns null on parse error
-// Example inputs:  Sun, 08 May 2005 20:45:02 GMT
-
+// Example inputs:  "Sun, 08 May 05 15:19:37 GMT"  "Mon, 09 May 2005 00:50:19 GMT"
 function rfc822ToJSDate(date_str) {
 	date_array = date_str.split(" ");
 	// check for two digit year
@@ -440,8 +439,7 @@ function rfc822ToJSDate(date_str) {
 }
 
 // Parses an ISO 8601 formatted date string and returns a JavaScript Date object, returns null on parse error
-// Example inputs:  2004-06-17T18:00Z 2004-06-17T18:34:12+02:00
-
+// Example inputs:  "2004-06-17T18:00Z" "2004-06-17T18:34:12+02:00"
 function iso8601ToJSDate(date_str) {
 	var tmp = date_str.split("T");
 	var date = tmp[0];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git



More information about the Pkg-mozext-commits mailing list