carhartl/jquery-cookie — pull request #83 by ihipop (2012-07-10 08:26:09+00:00)
Title: Add for human friendly units of expires days

* fork by ihipop @ 15:56 2012-07-10
* Add for human friendly units of expires days
* now these methods are accessable
* jQuery.cookie('test',123,{expires:'0s'})
* "test=123; expires=Tue, 10 Jul 2012 08:00:01 GMT"
* jQuery.cookie('test',123,{expires:'1m'})
* "test=123; expires=Tue, 10 Jul 2012 08:01:08 GMT"
* jQuery.cookie('test',123,{expires:'1h'})
* "test=123; expires=Tue, 10 Jul 2012 09:00:14 GMT"
* jQuery.cookie('test',123,{expires:'1d'})
* "test=123; expires=Wed, 11 Jul 2012 08:00:17 GMT"
* jQuery.cookie('test',123,{expires:'1'})
* TypeError: Object 1 has no method 'toUTCString'
* jQuery.cookie('test',123,{expires:1})
* "test=123; expires=Wed, 11 Jul 2012 08:00:50 GMT"
*/