]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
13 years agoAdded the asYear, asMonth, etc. getters to Durations 265/head
Rocky Meza [Sun, 15 Apr 2012 09:20:35 +0000 (03:20 -0600)] 
Added the asYear, asMonth, etc. getters to Durations

13 years agoInstituted bubbling for Durations
Rocky Meza [Sun, 15 Apr 2012 08:41:21 +0000 (02:41 -0600)] 
Instituted bubbling for Durations

This is according to the discussion in #265.

13 years agoensure that you can create durations from an actual duration object
Rocky Meza [Sun, 15 Apr 2012 06:23:27 +0000 (00:23 -0600)] 
ensure that you can create durations from an actual duration object

13 years agoAdded getters to the Duration prototype.
Rocky Meza [Sun, 15 Apr 2012 06:20:21 +0000 (00:20 -0600)] 
Added getters to the Duration prototype.

These can serve as encapsulation to protect from future possible changes
in internal representation.

13 years agoSimplified the dateAddRemove helper using the Duration object.
Rocky Meza [Sat, 7 Apr 2012 15:43:56 +0000 (09:43 -0600)] 
Simplified the dateAddRemove helper using the Duration object.

13 years agoStarted on the Duration object feature.
Rocky Meza [Sat, 7 Apr 2012 15:05:49 +0000 (09:05 -0600)] 
Started on the Duration object feature.

moment.duration provides an instantiation method for Duration objects
that handles three input types: an Object, key/value, or just
milliseconds.  I moved the functionality of moment.humanizeDuration to
moment.duration.fn.humanize.  I left a deprecated
moment.humanizeDuration method which relies on moment.duration.
moment.fn.from has been updated to use moment.duration.

13 years agoChanging unixValueOf to unix and adding unit tests
Tim Wood [Fri, 30 Mar 2012 17:45:07 +0000 (10:45 -0700)] 
Changing unixValueOf to unix and adding unit tests

#213

13 years agoMerge pull request #213 from exploid/master
Tim Wood [Fri, 30 Mar 2012 17:37:28 +0000 (10:37 -0700)] 
Merge pull request #213 from exploid/master

Add support for creation with unix timestamp in seconds

13 years agoFinally adding notes on contributing
Tim Wood [Fri, 30 Mar 2012 17:10:01 +0000 (10:10 -0700)] 
Finally adding notes on contributing

13 years agoAdding support for formatting milliseconds
Tim Wood [Fri, 23 Mar 2012 19:08:41 +0000 (12:08 -0700)] 
Adding support for formatting milliseconds

#214

13 years agoremove am/AM/pm/PM from meridiem
Tim Wood [Fri, 23 Mar 2012 18:43:04 +0000 (11:43 -0700)] 
remove am/AM/pm/PM from meridiem

Changing to a function.
#222 #228

13 years agoRemoving `isFuture` parameter from `relativeTime` and calculating it manually
Tim Wood [Fri, 23 Mar 2012 18:41:27 +0000 (11:41 -0700)] 
Removing `isFuture` parameter from `relativeTime` and calculating it manually

#226

13 years agoMerge pull request #221 from rockymeza/zh-ordering
Tim Wood [Fri, 23 Mar 2012 17:48:15 +0000 (10:48 -0700)] 
Merge pull request #221 from rockymeza/zh-ordering

fixed ordering of longDateFormat for traditional and simplified Chinese

13 years agoMerge pull request #226 from bleadof/master
Tim Wood [Fri, 23 Mar 2012 17:44:26 +0000 (10:44 -0700)] 
Merge pull request #226 from bleadof/master

The Finnish translation

13 years agoMerge pull request #224 from rockymeza/gl-1oclock
Tim Wood [Fri, 23 Mar 2012 16:50:02 +0000 (09:50 -0700)] 
Merge pull request #224 from rockymeza/gl-1oclock

Fixed one o'clock bug for Galician with calendar.

13 years agoFixed 'seitsämän' to 'seitsemän' 225/head 226/head
Tarmo Aidantausta [Fri, 23 Mar 2012 11:51:02 +0000 (13:51 +0200)] 
Fixed 'seitsämän' to 'seitsemän'

13 years agoAdded the Finnish translation support.
Tarmo Aidantausta [Fri, 23 Mar 2012 11:39:24 +0000 (13:39 +0200)] 
Added the Finnish translation support.

13 years agoAdded support for isFuture argument for the relativeTime and thus to translations
Tarmo Aidantausta [Fri, 23 Mar 2012 11:38:49 +0000 (13:38 +0200)] 
Added support for isFuture argument for the relativeTime and thus to translations

13 years agoFixed one o'clock bug for Galician with calendar. 224/head
Rocky Meza [Fri, 23 Mar 2012 07:44:39 +0000 (01:44 -0600)] 
Fixed one o'clock bug for Galician with calendar.

I also added a regression test to be able to test this without having to
wake up at 1 o'clock in the morning.

13 years agofixed ordering of longDateFormat for traditional and simplified Chinese 221/head
Rocky Meza [Fri, 23 Mar 2012 06:13:16 +0000 (00:13 -0600)] 
fixed ordering of longDateFormat for traditional and simplified Chinese

13 years agoNormalizing unit tests for -05:30 timezone
Tim Wood [Wed, 21 Mar 2012 18:14:11 +0000 (15:14 -0300)] 
Normalizing unit tests for -05:30 timezone

#217

13 years agoSwitching to toDate instead of native in all the tests
Tim Wood [Wed, 21 Mar 2012 17:29:40 +0000 (10:29 -0700)] 
Switching to toDate instead of native in all the tests

#216 #211

13 years agoAdding unit tests for UTC day of week
Tim Wood [Wed, 21 Mar 2012 17:07:39 +0000 (10:07 -0700)] 
Adding unit tests for UTC day of week

#212

13 years agoMaking ISO8601 parsing regex stricter
Tim Wood [Wed, 21 Mar 2012 17:01:53 +0000 (10:01 -0700)] 
Making ISO8601 parsing regex stricter

#215

13 years agoUse round() instead of parseInt() to be consistent. 213/head
Vincent Roy [Wed, 21 Mar 2012 11:55:11 +0000 (17:25 +0530)] 
Use round() instead of parseInt() to be consistent.

13 years agoAdd a unixValueOf that returns the unix timestamp in seconds.
Vincent Roy [Wed, 21 Mar 2012 11:52:33 +0000 (17:22 +0530)] 
Add a unixValueOf that returns the unix timestamp in seconds.

13 years agoFormatting tweak.
Vincent Roy [Wed, 21 Mar 2012 02:52:56 +0000 (23:52 -0300)] 
Formatting tweak.

13 years agoAdd support for creation with unix timestamp in seconds
Vincent Roy [Wed, 21 Mar 2012 02:47:47 +0000 (23:47 -0300)] 
Add support for creation with unix timestamp in seconds

13 years agoMerge pull request #212 from exploid/master
Tim Wood [Tue, 20 Mar 2012 19:10:08 +0000 (12:10 -0700)] 
Merge pull request #212 from exploid/master

Fixed weekday returned when isUTC date

13 years agoFixed weekday returned when isUTC date. 212/head
Vincent Roy [Tue, 20 Mar 2012 18:52:28 +0000 (00:22 +0530)] 
Fixed weekday returned when isUTC date.

13 years agoReleasing 1.5.0 1.5.0
Tim Wood [Mon, 19 Mar 2012 19:44:13 +0000 (12:44 -0700)] 
Releasing 1.5.0

13 years agoBuilding minified languages from changes
Tim Wood [Mon, 19 Mar 2012 19:43:59 +0000 (12:43 -0700)] 
Building minified languages from changes

13 years agoSwitching to local timezone to fix dst test bug
Tim Wood [Mon, 19 Mar 2012 19:10:11 +0000 (12:10 -0700)] 
Switching to local timezone to fix dst test bug

13 years agoMerge pull request #205 from hokaccha/ismoment
Tim Wood [Mon, 19 Mar 2012 18:23:53 +0000 (11:23 -0700)] 
Merge pull request #205 from hokaccha/ismoment

Add `moment.isMoment()`

13 years agoMerge pull request #203 from fduch2k/master
Tim Wood [Mon, 19 Mar 2012 18:23:05 +0000 (11:23 -0700)] 
Merge pull request #203 from fduch2k/master

Correcting day of week forms in localization for .calendar method

13 years agoAdd `moment.isMoment()` 205/head
hokaccha [Thu, 15 Mar 2012 09:50:00 +0000 (18:50 +0900)] 
Add `moment.isMoment()`

13 years agoTests for fixed localization of .calendar method 203/head
Alexander Hramov [Tue, 13 Mar 2012 09:49:37 +0000 (13:49 +0400)] 
Tests for fixed localization of .calendar method

13 years agoFixed order of lastWeek days for Russian language 202/head
Alexander Hramov [Tue, 13 Mar 2012 07:33:21 +0000 (11:33 +0400)] 
Fixed order of lastWeek days for Russian language

13 years agoMerge pull request #193 from hsablonniere/lang-fr
Tim Wood [Fri, 9 Mar 2012 00:08:23 +0000 (16:08 -0800)] 
Merge pull request #193 from hsablonniere/lang-fr

Fixing french locale Aujourd'hui instead of Ajourd'hui

13 years agoMerge pull request #191 from suupic/master
Tim Wood [Fri, 9 Mar 2012 00:07:24 +0000 (16:07 -0800)] 
Merge pull request #191 from suupic/master

zh-cn.js fixed

13 years agoFixing french locale Aujourd'hui instead of Ajourd'hui 193/head
Hubert SABLONNIÈRE [Sat, 3 Mar 2012 14:08:18 +0000 (15:08 +0100)] 
Fixing french locale Aujourd'hui instead of Ajourd'hui

13 years agofix some bugs for zh-cn locale 191/head
skywalker [Sat, 3 Mar 2012 05:36:50 +0000 (13:36 +0800)] 
fix some bugs for zh-cn locale

13 years agoBuilding lang da changes
Tim Wood [Fri, 2 Mar 2012 21:42:45 +0000 (13:42 -0800)] 
Building lang da changes

13 years agoAdding longDateFormat.LT for da lang file
Tim Wood [Fri, 2 Mar 2012 21:41:48 +0000 (13:41 -0800)] 
Adding longDateFormat.LT for da lang file

13 years agoUpdating unit tests for different languages
Tim Wood [Fri, 2 Mar 2012 20:26:09 +0000 (12:26 -0800)] 
Updating unit tests for different languages

#172

13 years agoMerge pull request #187 from jllahi/patch-1
Tim Wood [Fri, 2 Mar 2012 19:43:55 +0000 (11:43 -0800)] 
Merge pull request #187 from jllahi/patch-1

Update lang/ca.js

13 years agoRebuilding lang files, renaming zh_CN to zh-cn to follow standard
Tim Wood [Fri, 2 Mar 2012 01:07:36 +0000 (17:07 -0800)] 
Rebuilding lang files, renaming zh_CN to zh-cn to follow standard

13 years agoUpdating readme for 1.4.0 changes
Tim Wood [Fri, 2 Mar 2012 01:06:55 +0000 (17:06 -0800)] 
Updating readme for 1.4.0 changes

13 years agoAdding humanizeDuration function #178
Tim Wood [Fri, 2 Mar 2012 00:57:47 +0000 (16:57 -0800)] 
Adding humanizeDuration function #178

13 years agoAdding disclaimer to failed moment.fn.format('z') in UTC+1
Tim Wood [Fri, 2 Mar 2012 00:25:37 +0000 (16:25 -0800)] 
Adding disclaimer to failed moment.fn.format('z') in UTC+1

#162

13 years agoFailing timezone unit tests #188
Tim Wood [Fri, 2 Mar 2012 00:19:41 +0000 (00:19 +0000)] 
Failing timezone unit tests #188

13 years agoFailing timezone unit tests #185
Tim Wood [Fri, 2 Mar 2012 00:18:50 +0000 (00:18 +0000)] 
Failing timezone unit tests #185

13 years agoAdding utc mode #158
Tim Wood [Fri, 2 Mar 2012 00:00:22 +0000 (12:00 +1200)] 
Adding utc mode #158

13 years agoHandling empty string null #184
Tim Wood [Thu, 1 Mar 2012 23:44:20 +0000 (11:44 +1200)] 
Handling empty string null #184

13 years agoUpdate lang/ca.js 187/head
Jordi [Thu, 1 Mar 2012 09:44:28 +0000 (10:44 +0100)] 
Update lang/ca.js

13 years agoAdded moment.fn.daysInMonth
Tim Wood [Tue, 28 Feb 2012 17:43:19 +0000 (09:43 -0800)] 
Added moment.fn.daysInMonth

See #180

13 years agoMerge pull request #182 from fduch2k/master
Tim Wood [Tue, 28 Feb 2012 17:25:07 +0000 (09:25 -0800)] 
Merge pull request #182 from fduch2k/master

Fixed test for Russian language

13 years agoFixed test for ru.js language 182/head
Alexander Hramov [Tue, 28 Feb 2012 09:08:25 +0000 (13:08 +0400)] 
Fixed test for ru.js language

13 years agoMerge branch 'master' of github.com:fduch2k/moment
Alexander Hramov [Tue, 28 Feb 2012 08:01:41 +0000 (12:01 +0400)] 
Merge branch 'master' of github.com:fduch2k/moment

13 years agoFixed test failed with "a day" form
Alexander Hramov [Sat, 25 Feb 2012 08:08:03 +0000 (12:08 +0400)] 
Fixed test failed with "a day" form

13 years agoFixing bug for #176
Tim Wood [Wed, 22 Feb 2012 17:11:01 +0000 (09:11 -0800)] 
Fixing bug for #176

13 years agoMerge pull request #174 from dreamerslab/master
Tim Wood [Wed, 22 Feb 2012 16:55:11 +0000 (08:55 -0800)] 
Merge pull request #174 from dreamerslab/master

Add traditional chinese test zh-tw

13 years agofix zh-tw MM bug 174/head
ben [Tue, 21 Feb 2012 05:29:13 +0000 (13:29 +0800)] 
fix zh-tw MM bug

13 years agoadd zh-tw test
ben [Tue, 21 Feb 2012 05:28:32 +0000 (13:28 +0800)] 
add zh-tw test

13 years agoBuilding changes for automatic iso parsing
Tim Wood [Mon, 20 Feb 2012 20:40:51 +0000 (12:40 -0800)] 
Building changes for automatic iso parsing

#153

13 years agoAdded automatic iso parsing
Tim Wood [Mon, 20 Feb 2012 20:40:31 +0000 (12:40 -0800)] 
Added automatic iso parsing

#153

13 years agoASP.net dates can be negative #161
Tim Wood [Mon, 20 Feb 2012 19:28:24 +0000 (11:28 -0800)] 
ASP.net dates can be negative #161

13 years agoMaking a default format for moment.fn.format
Tim Wood [Mon, 20 Feb 2012 19:03:42 +0000 (11:03 -0800)] 
Making a default format for moment.fn.format

#121 Default format is 'YYYY-MM-DDTHH:mm:ssZ'

13 years agoAdding jshint options from build script
Tim Wood [Mon, 20 Feb 2012 18:09:40 +0000 (10:09 -0800)] 
Adding jshint options from build script

13 years agoMerge pull request #169 from fduch2k/master
Tim Wood [Mon, 20 Feb 2012 19:29:58 +0000 (11:29 -0800)] 
Merge pull request #169 from fduch2k/master

Adding correct plural forms for Russian language

13 years agoMerge pull request #168 from suupic/master
Tim Wood [Mon, 20 Feb 2012 18:00:03 +0000 (10:00 -0800)] 
Merge pull request #168 from suupic/master

adding Chinese zh_CN locale

13 years agoMerge pull request #170 from dreamerslab/master
Tim Wood [Mon, 20 Feb 2012 17:58:54 +0000 (09:58 -0800)] 
Merge pull request #170 from dreamerslab/master

Add traditional chinese support zh-tw

13 years agoMerge pull request #167 from rockymeza/makefile-improved
Tim Wood [Mon, 20 Feb 2012 17:29:42 +0000 (09:29 -0800)] 
Merge pull request #167 from rockymeza/makefile-improved

Makefile improved

13 years agoAdd traditional chinese support 170/head
ben [Mon, 20 Feb 2012 03:57:42 +0000 (11:57 +0800)] 
Add traditional chinese support

13 years agoAdded correct plural forms for Russian language 169/head
Alexander Hramov [Sat, 18 Feb 2012 19:38:23 +0000 (23:38 +0400)] 
Added correct plural forms for Russian language

13 years agoadding Chinese(zh_CN) support 168/head
root [Fri, 17 Feb 2012 04:21:11 +0000 (12:21 +0800)] 
adding Chinese(zh_CN) support

13 years agoclean up makefile a bit 167/head
Rocky Meza [Sun, 12 Feb 2012 03:08:41 +0000 (20:08 -0700)] 
clean up makefile a bit

13 years agoadded .jshintrc for eqnull
Rocky Meza [Sun, 12 Feb 2012 03:07:00 +0000 (20:07 -0700)] 
added .jshintrc for eqnull

13 years agoupdated devDependencies
Rocky Meza [Sun, 12 Feb 2012 02:58:14 +0000 (19:58 -0700)] 
updated devDependencies

13 years agoimproved Makefile
Rocky Meza [Sun, 12 Feb 2012 02:57:45 +0000 (19:57 -0700)] 
improved Makefile

13 years agoMerge pull request #165 from panosru/patch-1
Tim Wood [Wed, 8 Feb 2012 16:38:19 +0000 (08:38 -0800)] 
Merge pull request #165 from panosru/patch-1

Update package.json

13 years agoUpdate package.json 165/head
Panagiotis Kosmidis [Wed, 8 Feb 2012 07:24:19 +0000 (09:24 +0200)] 
Update package.json

13 years agoAdding semi colons at end of test files.
Tim Wood [Sat, 4 Feb 2012 00:49:49 +0000 (16:49 -0800)] 
Adding semi colons at end of test files.

13 years agoReorganizing structure and switching to makefiles for build and testing process
Tim Wood [Sat, 4 Feb 2012 00:36:55 +0000 (16:36 -0800)] 
Reorganizing structure and switching to makefiles for build and testing process

13 years agoBuilding for 1.4.0 1.4.0
Tim Wood [Fri, 3 Feb 2012 19:15:27 +0000 (11:15 -0800)] 
Building for 1.4.0

13 years agoVersion 1.4.0
Tim Wood [Fri, 3 Feb 2012 19:12:50 +0000 (11:12 -0800)] 
Version 1.4.0

13 years agoBuilding for #125
Tim Wood [Fri, 3 Feb 2012 19:06:44 +0000 (12:06 -0700)] 
Building for #125

13 years agoMaking isDST work in southern hemisphere countries
Tim Wood [Fri, 3 Feb 2012 19:06:32 +0000 (12:06 -0700)] 
Making isDST work in southern hemisphere countries

13 years agoBuilding docs
Tim Wood [Fri, 3 Feb 2012 18:44:42 +0000 (10:44 -0800)] 
Building docs

#156 #154 #148 #133

13 years agoAdding moment.fn.toDate to docs instead of moment.fn.native #165
Tim Wood [Fri, 3 Feb 2012 18:43:45 +0000 (10:43 -0800)] 
Adding moment.fn.toDate to docs instead of moment.fn.native #165

13 years agoAdding strftime plugin to the docs #154
Tim Wood [Fri, 3 Feb 2012 18:35:38 +0000 (10:35 -0800)] 
Adding strftime plugin to the docs #154

13 years agoDocs for asp.net style json dates #133 #119
Tim Wood [Fri, 3 Feb 2012 18:25:16 +0000 (10:25 -0800)] 
Docs for asp.net style json dates #133 #119

13 years agoAdding some docs on sod and eod
Tim Wood [Fri, 3 Feb 2012 18:18:30 +0000 (10:18 -0800)] 
Adding some docs on sod and eod

13 years agoMore docs on cloning #148
Tim Wood [Fri, 3 Feb 2012 18:18:10 +0000 (10:18 -0800)] 
More docs on cloning #148

13 years agoAdding docs for cloning moments #148
Tim Wood [Fri, 3 Feb 2012 18:17:44 +0000 (10:17 -0800)] 
Adding docs for cloning moments #148

13 years agoBuilding for #126
Tim Wood [Thu, 2 Feb 2012 18:40:01 +0000 (10:40 -0800)] 
Building for #126

13 years agoFixing docs for #126
Tim Wood [Thu, 2 Feb 2012 18:39:41 +0000 (10:39 -0800)] 
Fixing docs for #126

13 years agoBuilding for #150
Tim Wood [Thu, 2 Feb 2012 18:21:19 +0000 (10:21 -0800)] 
Building for #150

13 years agoChanging 'denier' to 'dernier' in French lang files
Tim Wood [Thu, 2 Feb 2012 18:21:09 +0000 (10:21 -0800)] 
Changing 'denier' to 'dernier' in French lang files

#150

13 years agoMerge pull request #149 from rockymeza/diff_weeks
Tim Wood [Thu, 2 Feb 2012 18:18:07 +0000 (10:18 -0800)] 
Merge pull request #149 from rockymeza/diff_weeks

Diff across DST