From: Tim Wood Date: Fri, 8 Apr 2011 17:35:59 +0000 (-0700) Subject: fixed some documentation with version number and file size X-Git-Tag: 0.3.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5e97bc63f7301f48555c49498e0d38f547515c;p=thirdparty%2Fmoment.git fixed some documentation with version number and file size --- diff --git a/README.markdown b/README.markdown index a84a97122..2af28a4a7 100644 --- a/README.markdown +++ b/README.markdown @@ -3,6 +3,8 @@ Underscore.date Author: Tim Wood +Version: 0.3.2 + Underscore.date is a JavaScript Date utility library built on top of [Underscore.js](http://documentcloud.github.com/underscore/) It adds utility functions for working with Date objects without extending `Date.prototype`. @@ -12,15 +14,15 @@ In addition to the date creation and manipulation functions, there are a few fun _.date(new Date(2010, 1, 14, 15, 25, 50, 125)).format("dddd, MMMM Do YYYY, h:mm:ss a"); // "Sunday, February 14th 2010, 3:25:50 pm" _.date(new Date(2010, 1, 14, 15, 25, 50, 125)).fromNow(); // "20 days ago" -### Filesize +### Filesize : 1.6 kb minified + gzipped - - + +
minified gzipped
3.73k1.6k3.58 kb1.6 kb
@@ -340,12 +342,14 @@ The formats are created by creating a string of replacable characters. zz Eastern Standard Time ... Pacific Standard Time

+ NOTE: Internet Explorer uses a different implementation of Date.toString(), so we are unable to retrieve the full string - of the timezone, and will fall back to `z`.

+ of the timezone, and will fall back to 'z'.

So:
Firefox, Chrome, Safari, etc. == 'Eastern Standard Time'
Internet Explorer, etc. == 'EST' +
@@ -487,7 +491,7 @@ Tests There are a bunch of tests in the test/ folder. Check them out. If you think some tests are missing, open an issue, and I'll add it. ### Speed tests -[Floor vs bitwiseor vs parseint](http://jsperf.com/floor-vs-bitwise-or-vs-parseint) +[Floor vs bitwiseor vs bitwisenor vs parseint](http://jsperf.com/floor-vs-bitwise-or-vs-parseint/4) [Switch/case vs object of functions lookup](http://jsperf.com/object-of-functions-vs-switch)