From: Tim Wood Date: Thu, 1 Dec 2011 18:44:28 +0000 (-0800) Subject: Adding moment.fn.zone documentation #83 X-Git-Tag: 1.2.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b8c49415508ee827e28b112d2a8e3be2f23f86;p=thirdparty%2Fmoment.git Adding moment.fn.zone documentation #83 --- diff --git a/sitesrc/docs.jade b/sitesrc/docs.jade index 70603fba9..7f7eac5a8 100644 --- a/sitesrc/docs.jade +++ b/sitesrc/docs.jade @@ -95,6 +95,8 @@ block content a(href="#/display/year") Year li a(href="#/display/leapyear") Leap Year + li + a(href="#/display/zone") Timezone Offset h2 a(href="#/i18n") span I18N @@ -829,6 +831,12 @@ block content | moment([2100]).isLeapYear() // false + a(name="/display/zone") + h3 + span Timezone Offset + pre moment().zone(); // get the timezone offset in minutes (60, 120, 240, etc.) + + a(name="/i18n") h2 span I18N