diff iso8601.js @ 43:023f767662d3

Fix compatibility with strict mode of node 0.4 and some files without licence header.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 01 Mar 2011 11:58:15 +0100
parents 5395a501c991
children fd69d35cf2e6
line wrap: on
line diff
--- a/iso8601.js
+++ b/iso8601.js
@@ -17,6 +17,8 @@
  *  along with PSĜS.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+'use strict';
+
 Date.prototype.setFromISO8601 = function(iso){
 	var format = /(\d{4})(-)?(\d\d)(-)?(\d\d)(T)?(\d\d)(:)?(\d\d)(:)?(\d\d)Z/;
 	var m = iso.match(format);