]> git.ipfire.org Git - thirdparty/moment.git/log
thirdparty/moment.git
8 years agoMerge pull request #3817 from billschaller:patch-2
Iskren Chernev [Sat, 11 Mar 2017 23:35:56 +0000 (01:35 +0200)] 
Merge pull request #3817 from billschaller:patch-2

[misc] Don't enumerate momentProperties with 'in'

8 years ago[Easy] Don't enumerate momentProperties with 'in'
Bill Schaller [Wed, 8 Mar 2017 19:03:30 +0000 (14:03 -0500)] 
[Easy] Don't enumerate momentProperties with 'in'

Because of the way many polyfill libraries modify Array.prototype (without Object.defineProperty), enumerating momentProperties with for...in is unsafe.

This is a zero-cost change that makes this enumeration safe.

8 years agoMerge pull request #3815 from marwahaha:fix/3702
Iskren Chernev [Sat, 11 Mar 2017 23:30:02 +0000 (01:30 +0200)] 
Merge pull request #3815 from marwahaha:fix/3702

[misc] typescrpt: Fixes #3702, add week in duration input spec

8 years agoAdd a test
Kunal Marwaha [Wed, 8 Mar 2017 08:47:39 +0000 (00:47 -0800)] 
Add a test

8 years agoAdd typings for weeks on DurationInputObject
Kunal Marwaha [Wed, 8 Mar 2017 08:22:50 +0000 (00:22 -0800)] 
Add typings for weeks on DurationInputObject

8 years agoMerge pull request #3806 from timfish:develop
Iskren Chernev [Sat, 11 Mar 2017 23:19:25 +0000 (01:19 +0200)] 
Merge pull request #3806 from timfish:develop

[bugfix] Fixes #3805, fix locale month getters for standalone/format cases

8 years agocode style
Tim Fish [Sun, 5 Mar 2017 22:32:40 +0000 (23:32 +0100)] 
code style

8 years agorevert two missed files
Tim Fish [Sun, 5 Mar 2017 22:31:04 +0000 (23:31 +0100)] 
revert two missed files

8 years ago@ichernev tips
Tim Fish [Sun, 5 Mar 2017 22:28:11 +0000 (23:28 +0100)] 
@ichernev tips

8 years agoI should probably run the code style tests locally...
Tim Fish [Sun, 5 Mar 2017 14:51:39 +0000 (15:51 +0100)] 
I should probably run the code style tests locally...

8 years agocode style
Tim Fish [Sun, 5 Mar 2017 14:46:04 +0000 (15:46 +0100)] 
code style

8 years agocode style
Tim Fish [Sun, 5 Mar 2017 14:40:11 +0000 (15:40 +0100)] 
code style

8 years agoget tests passing
Tim Fish [Sun, 5 Mar 2017 14:32:17 +0000 (15:32 +0100)] 
get tests passing

8 years agoanother code style issue
Tim Fish [Sun, 5 Mar 2017 10:12:13 +0000 (11:12 +0100)] 
another code style issue

8 years agoFix code style errors
Tim Fish [Sun, 5 Mar 2017 10:08:02 +0000 (11:08 +0100)] 
Fix code style errors

8 years agoAdd localeData tests
Tim Fish [Sun, 5 Mar 2017 10:01:27 +0000 (11:01 +0100)] 
Add localeData tests

8 years agoFix code style errors
Tim Fish [Sat, 4 Mar 2017 15:14:27 +0000 (16:14 +0100)] 
Fix code style errors

8 years agoFix issue #3805
Tim Fish [Sat, 4 Mar 2017 15:06:22 +0000 (16:06 +0100)] 
Fix issue #3805

8 years agoMerge pull request #3792 from nusretparlak:develop
Iskren Chernev [Sat, 11 Mar 2017 22:56:51 +0000 (00:56 +0200)] 
Merge pull request #3792 from nusretparlak:develop

[new locale] ar-kw: Arabic (Kuwait) locale

8 years agoRemove locale/ar-kw.js (autogen later)
Iskren Chernev [Sat, 11 Mar 2017 22:54:47 +0000 (00:54 +0200)] 
Remove locale/ar-kw.js (autogen later)

8 years agoAr-KW Test Updated
Nusret Parlak [Fri, 3 Mar 2017 11:54:40 +0000 (13:54 +0200)] 
Ar-KW Test Updated

Ar-KW Test Updated

8 years agoAr-KW Test Updated
Nusret Parlak [Fri, 3 Mar 2017 11:48:32 +0000 (13:48 +0200)] 
Ar-KW Test Updated

Ar-KW Test Updated

8 years agoAr-Kw(Kuwait) Language Test Package Added .
Nusret Parlak [Fri, 3 Mar 2017 06:35:40 +0000 (08:35 +0200)] 
Ar-Kw(Kuwait) Language Test Package Added .

Ar-Kw(Kuwait) Language Test Package Added .

8 years agoAr-Kw(Kuwait) Language Package Added
Nusret Parlak [Fri, 3 Mar 2017 06:29:54 +0000 (08:29 +0200)] 
Ar-Kw(Kuwait) Language Package Added

Ar-Kw(Kuwait) Language Package Added

8 years agoDay of week updated.
Nusret Parlak [Mon, 27 Feb 2017 11:42:54 +0000 (13:42 +0200)] 
Day of week updated.

Day of week updated.

8 years agoAr-Kw(Kuwait) Language Package Added .
nusretparlak [Mon, 27 Feb 2017 06:38:46 +0000 (08:38 +0200)] 
Ar-Kw(Kuwait) Language Package Added .

Ar-Kw(Kuwait) Language Package Added .

8 years agoMerge pull request #3786 from netguru:develop
Iskren Chernev [Sat, 11 Mar 2017 22:46:30 +0000 (00:46 +0200)] 
Merge pull request #3786 from netguru:develop

[feature] Add 'default' locale that detects browser setting

8 years agoDo not mess up with global.window
Iskren Chernev [Sat, 11 Mar 2017 22:45:10 +0000 (00:45 +0200)] 
Do not mess up with global.window

8 years agoOS-29 Detect user locale in a browser when a 'default' sting is passed to the locale...
Maciej Myśliński [Fri, 24 Feb 2017 19:18:40 +0000 (20:18 +0100)] 
OS-29 Detect user locale in a browser when a 'default' sting is passed to the locale method

8 years agoMerge pull request #3780 from marwahaha:patch/3765
Iskren Chernev [Sat, 11 Mar 2017 22:39:33 +0000 (00:39 +0200)] 
Merge pull request #3780 from marwahaha:patch/3765

[bugfix] Fixes #3765: Ensure year 0 is formatted with YYYY

8 years agoEnsure year 0 is displayed with YYYY
Iskren Chernev [Sat, 11 Mar 2017 22:38:27 +0000 (00:38 +0200)] 
Ensure year 0 is displayed with YYYY

8 years agoMake suggested fix by @vagsa2
Kunal Marwaha [Tue, 21 Feb 2017 07:33:51 +0000 (02:33 -0500)] 
Make suggested fix by @vagsa2

8 years agoMerge pull request #3778 from WikiDiscoverer:patch-1
Iskren Chernev [Sat, 11 Mar 2017 22:29:36 +0000 (00:29 +0200)] 
Merge pull request #3778 from WikiDiscoverer:patch-1

[new locale] gom-latn: Konkani latin locale

8 years agoCreate gom-latn.js
WikiDiscoverer [Mon, 20 Feb 2017 16:53:57 +0000 (22:23 +0530)] 
Create gom-latn.js

Locale for Konkani (Latin script)

8 years agoMerge pull request #3776 from fbonzon:https
Iskren Chernev [Sat, 11 Mar 2017 22:21:35 +0000 (00:21 +0200)] 
Merge pull request #3776 from fbonzon:https

[misc] Prefer HTTPS links when they exist

8 years agoPrefer HTTPS links when they exist
François B [Mon, 20 Feb 2017 01:31:12 +0000 (02:31 +0100)] 
Prefer HTTPS links when they exist

8 years agoMerge pull request #3773 from keheliya:master
Iskren Chernev [Sat, 11 Mar 2017 22:14:01 +0000 (00:14 +0200)] 
Merge pull request #3773 from keheliya:master

[misc] Move travis install commands to install phase

8 years agomoving install commands to install phase
Keheliya Gallaba [Sat, 18 Feb 2017 16:55:29 +0000 (11:55 -0500)] 
moving install commands to install phase

8 years agoMerge pull request #3766 from EzequielB:k_and_kk_parsing_support
Iskren Chernev [Sat, 11 Mar 2017 22:11:55 +0000 (00:11 +0200)] 
Merge pull request #3766 from EzequielB:k_and_kk_parsing_support

[feature] Add support for k and kk format parsing

8 years agoAdd support for k and kk format parsing
Ezequiel Ballesi [Thu, 16 Feb 2017 00:58:13 +0000 (21:58 -0300)] 
Add support for k and kk format parsing

8 years agoMerge pull request #3747 from mperrando:fix-italian-grammar
Iskren Chernev [Sat, 11 Mar 2017 22:05:54 +0000 (00:05 +0200)] 
Merge pull request #3747 from mperrando:fix-italian-grammar

[locale] it: Weekdays are now lowercase

8 years agoWeekdays must be written with lowercase initial.
Marco Perrando [Fri, 3 Feb 2017 09:56:02 +0000 (10:56 +0100)] 
Weekdays must be written with lowercase initial.

See http://www.treccani.it/enciclopedia/uso-delle-maiuscole_(La-grammatica-italiana)

> I nomi dei giorni della settimana e dei mesi vanno scritti con l’iniziale minuscola
> maggio, lunedì, marzo, sabato.

8 years agoMerge pull request #3738 from pndewit:develop
Iskren Chernev [Sat, 11 Mar 2017 22:02:55 +0000 (00:02 +0200)] 
Merge pull request #3738 from pndewit:develop

[feature] Enable relative time for multiple seconds, request #2558

8 years agoRemove s/ss global flag
Iskren Chernev [Sat, 11 Mar 2017 22:00:18 +0000 (00:00 +0200)] 
Remove s/ss global flag

8 years agoimplements optional threshold for a few seconds to %d seconds: #2558
Patrick de Wit [Tue, 31 Jan 2017 11:04:20 +0000 (12:04 +0100)] 
implements optional threshold for a few seconds to %d seconds: #2558

8 years agoMerge pull request #3726 from nasserghiasi:develop
Iskren Chernev [Sat, 11 Mar 2017 21:51:58 +0000 (23:51 +0200)] 
Merge pull request #3726 from nasserghiasi:develop

[locale] fa: Improve relative time for seconds

8 years agofix context in persian (fa) locale files
Nasser Ghiasi [Tue, 21 Feb 2017 20:17:22 +0000 (23:47 +0330)] 
fix context in persian (fa) locale files

8 years agoMerge pull request #3737 from hupfis:patch-1
Iskren Chernev [Sun, 5 Mar 2017 21:38:41 +0000 (23:38 +0200)] 
Merge pull request #3737 from hupfis:patch-1

[misc] Fix formatting of changelog

8 years agoFix formatting of changelog
hupfis [Mon, 30 Jan 2017 12:39:45 +0000 (13:39 +0100)] 
Fix formatting of changelog

8 years agoMerge pull request #3787 from marwahaha:fix/3717
Iskren Chernev [Thu, 2 Mar 2017 10:00:40 +0000 (12:00 +0200)] 
Merge pull request #3787 from marwahaha:fix/3717

[bugfix] Fixes #3717, ensure day-of-year is non-zero

8 years agoMove logic to overflow section
Kunal Marwaha [Sun, 26 Feb 2017 04:04:49 +0000 (23:04 -0500)] 
Move logic to overflow section

8 years agoForce day-of-year to nonzero parsing
Kunal Marwaha [Sun, 26 Feb 2017 03:18:49 +0000 (22:18 -0500)] 
Force day-of-year to nonzero parsing

8 years agoMerge pull request #3753 from Rasulbeeek:develop
Iskren Chernev [Thu, 2 Mar 2017 09:51:13 +0000 (11:51 +0200)] 
Merge pull request #3753 from Rasulbeeek:develop

[new locale] uz-latn: Uzbek latin locale

8 years agoadded uzbek latin locale
Rasulbek [Tue, 7 Feb 2017 14:21:22 +0000 (19:21 +0500)] 
added uzbek latin locale

8 years agoMerge pull request #3750 from rajeevnaikte:kannada_locale
Iskren Chernev [Thu, 2 Mar 2017 09:43:51 +0000 (11:43 +0200)] 
Merge pull request #3750 from rajeevnaikte:kannada_locale

[new locale] kn: Kannada locale

8 years agoAdd locale for Kannada
rajeevnaikte [Sun, 5 Feb 2017 07:39:32 +0000 (13:09 +0530)] 
Add locale for Kannada

8 years agoMerge pull request #3712 from marwahaha:fix/3693
Iskren Chernev [Thu, 2 Mar 2017 09:38:28 +0000 (11:38 +0200)] 
Merge pull request #3712 from marwahaha:fix/3693

[misc] Use isFunction instead of instanceof Function

8 years agoUse isFunction instead of instanceof Function
Kunal Marwaha [Tue, 10 Jan 2017 15:49:38 +0000 (10:49 -0500)] 
Use isFunction instead of instanceof Function

8 years agoMerge pull request #3710 from moment:maggie/isostringnull
Iskren Chernev [Thu, 2 Mar 2017 09:33:50 +0000 (11:33 +0200)] 
Merge pull request #3710 from moment:maggie/isostringnull

[bugfix] Fixes #3632, toISOString returns null for invalid date

8 years agotoISOString returns null for invalid date
Maggie Pint [Mon, 9 Jan 2017 04:49:27 +0000 (20:49 -0800)] 
toISOString returns null for invalid date

8 years agoMerge pull request #3707 from miestasmia:develop
Iskren Chernev [Thu, 2 Mar 2017 09:30:04 +0000 (11:30 +0200)] 
Merge pull request #3707 from miestasmia:develop

[locale] eo: Fix grammatical errors

8 years agoAdd missing credit to header in Esperanto locale
Mia Nordentoft [Sat, 7 Jan 2017 14:21:40 +0000 (15:21 +0100)] 
Add missing credit to header in Esperanto locale

8 years agoFix various different grammatical errors in Esperanto locale
Mia Nordentoft [Sat, 7 Jan 2017 14:17:01 +0000 (15:17 +0100)] 
Fix various different grammatical errors in Esperanto locale

8 years agoMerge pull request #3701 from gregpabian:fix/locale-specifier-typings
Iskren Chernev [Thu, 2 Mar 2017 09:26:10 +0000 (11:26 +0200)] 
Merge pull request #3701 from gregpabian:fix/locale-specifier-typings

[misc] typescript: Add boolean to LocaleSelector variants

8 years agoFixed up invalid typings for LocaleSelector.
Grzegorz Pabian [Thu, 5 Jan 2017 15:47:09 +0000 (15:47 +0000)] 
Fixed up invalid typings for LocaleSelector.

8 years agoMerge pull request #3695 from nwhittaker:develop
Iskren Chernev [Thu, 2 Mar 2017 09:22:56 +0000 (11:22 +0200)] 
Merge pull request #3695 from nwhittaker:develop

[locale] th: Adjust "L" format

8 years agoAdjust Thai localized short date format to read day/month/year (moment/moment#3692).
Nate Whittaker [Sat, 31 Dec 2016 19:38:40 +0000 (14:38 -0500)] 
Adjust Thai localized short date format to read day/month/year (moment/moment#3692).

8 years agoMerge pull request #3676 from Dok11:develop
Iskren Chernev [Thu, 2 Mar 2017 09:19:34 +0000 (11:19 +0200)] 
Merge pull request #3676 from Dok11:develop

[misc] Style changes in ping-all-authors script

8 years agoFix fatal error
Oleg Postoev [Fri, 23 Dec 2016 15:39:47 +0000 (18:39 +0300)] 
Fix fatal error

Some changes for better work and nice code style

8 years agoMerge pull request #3666 from josephjaniga:calendar-overload-formats
Iskren Chernev [Thu, 2 Mar 2017 09:17:17 +0000 (11:17 +0200)] 
Merge pull request #3666 from josephjaniga:calendar-overload-formats

[feature] Calendar function handles formats only arg

8 years agofixed comment per request
joseph janiga [Sat, 4 Feb 2017 16:00:25 +0000 (11:00 -0500)] 
fixed comment per request

8 years agoRemoved trailing space...
joseph janiga [Sat, 17 Dec 2016 00:54:26 +0000 (19:54 -0500)] 
Removed trailing space...

8 years agoIssue no. 3658 adding overload for single parameter to calendar function
joseph janiga [Sat, 17 Dec 2016 00:32:03 +0000 (19:32 -0500)] 
Issue no. 3658 adding overload for single parameter to calendar function

Corrected the formatting on calendarjs unit test file

Corrected autoformatting

8 years agoMerge pull request #3664 from FindHotel:pt_weekdays
Iskren Chernev [Thu, 2 Mar 2017 09:14:12 +0000 (11:14 +0200)] 
Merge pull request #3664 from FindHotel:pt_weekdays

[locale] pt, pt-br: all weekdays min values with 2 characters.

8 years agoAll weekdays min values in pt and pt-BR with 2 characters.
Prodis [Thu, 15 Dec 2016 15:25:36 +0000 (16:25 +0100)] 
All weekdays min values in pt and pt-BR with 2 characters.

8 years agoMerge pull request #3659 from narainsagar:sindhi-locale-support
Iskren Chernev [Thu, 2 Mar 2017 09:10:52 +0000 (11:10 +0200)] 
Merge pull request #3659 from narainsagar:sindhi-locale-support

[new locale] sd: Sindhi locale

8 years agoAdded Sindhi locale support
Narain Sagar [Tue, 13 Dec 2016 23:16:46 +0000 (04:16 +0500)] 
Added Sindhi locale support

8 years agoMerge pull request #3654 from codenhagen:develop
Iskren Chernev [Thu, 2 Mar 2017 08:59:58 +0000 (10:59 +0200)] 
Merge pull request #3654 from codenhagen:develop

[locale] da: Improvements in calendar and date formats

8 years agoFixed locale typos and errors
codenhagen [Fri, 9 Dec 2016 14:37:05 +0000 (15:37 +0100)] 
Fixed locale typos and errors

8 years agoMerge pull request #3643 from moment:maggie/offsetminutesashours
Iskren Chernev [Thu, 2 Mar 2017 08:55:34 +0000 (10:55 +0200)] 
Merge pull request #3643 from moment:maggie/offsetminutesashours

[bugfix] Fixes #3520, parseZone incorrectly handled minutes under 16

8 years agofix conversion of parsed offset to hours
Maggie Pint [Mon, 5 Dec 2016 05:17:31 +0000 (21:17 -0800)] 
fix conversion of parsed offset to hours

8 years agoMerge pull request #3641 from ibnesayeed:develop
Iskren Chernev [Thu, 2 Mar 2017 08:51:01 +0000 (10:51 +0200)] 
Merge pull request #3641 from ibnesayeed:develop

[new locale] ur: Urdu locale

8 years agoAdded a fallback point of contact
Sawood Alam [Thu, 12 Jan 2017 15:39:08 +0000 (10:39 -0500)] 
Added a fallback point of contact

8 years agoAdded unit tests for Urdu locale
Sawood Alam [Sun, 4 Dec 2016 17:47:43 +0000 (12:47 -0500)] 
Added unit tests for Urdu locale

8 years agoAdded meridiem and formatting improvements
Sawood Alam [Sun, 4 Dec 2016 17:42:19 +0000 (12:42 -0500)] 
Added meridiem and formatting improvements

8 years agoIndentation corrected
Sawood Alam [Sun, 4 Dec 2016 15:26:26 +0000 (10:26 -0500)] 
Indentation corrected

8 years agoAdded Urdu locale translations
Sawood Alam [Sun, 4 Dec 2016 06:20:11 +0000 (01:20 -0500)] 
Added Urdu locale translations

8 years agoMerge pull request #3611 from marwahaha:patch-3225
Iskren Chernev [Thu, 2 Mar 2017 08:46:38 +0000 (10:46 +0200)] 
Merge pull request #3611 from marwahaha:patch-3225

[feature] Durations gain validity

8 years agoCreate moment.duration.invalid()
Kunal Marwaha [Tue, 21 Feb 2017 08:02:25 +0000 (03:02 -0500)] 
Create moment.duration.invalid()

8 years agoMake rest of code review changes
Kunal Marwaha [Mon, 6 Feb 2017 08:04:20 +0000 (03:04 -0500)] 
Make rest of code review changes

8 years agoMake easy changes as per code review
Kunal Marwaha [Mon, 6 Feb 2017 07:31:09 +0000 (02:31 -0500)] 
Make easy changes as per code review

8 years agoAdd validity check for decimal values on non-smallest duration unit
Kunal Marwaha [Sat, 21 Jan 2017 02:23:29 +0000 (21:23 -0500)] 
Add validity check for decimal values on non-smallest duration unit

8 years agoAdd second invalid duration test case
Kunal Marwaha [Mon, 5 Dec 2016 07:48:24 +0000 (02:48 -0500)] 
Add second invalid duration test case

8 years agoFix duration functions to follow tests
Kunal Marwaha [Mon, 5 Dec 2016 07:37:07 +0000 (02:37 -0500)] 
Fix duration functions to follow tests

8 years agoWrite duration-invalid tests
Kunal Marwaha [Mon, 5 Dec 2016 07:15:49 +0000 (02:15 -0500)] 
Write duration-invalid tests

8 years agoReplace arrow function
Kunal Marwaha [Wed, 30 Nov 2016 06:06:54 +0000 (01:06 -0500)] 
Replace arrow function

8 years agoReturn invalid date for humanize if duration is invalid
Kunal Marwaha [Tue, 29 Nov 2016 07:08:30 +0000 (23:08 -0800)] 
Return invalid date for humanize if duration is invalid

8 years agoAdd accessor function to isValid
Kunal Marwaha [Tue, 29 Nov 2016 06:57:45 +0000 (22:57 -0800)] 
Add accessor function to isValid

8 years agoCreate _isValid property for durations
Kunal Marwaha [Sat, 19 Nov 2016 07:27:43 +0000 (02:27 -0500)] 
Create _isValid property for durations

8 years agoMerge pull request #3608 from jasonkb:standardizedcjktimeformats
Iskren Chernev [Thu, 2 Mar 2017 08:41:15 +0000 (10:41 +0200)] 
Merge pull request #3608 from jasonkb:standardizedcjktimeformats

[locale] ja, zh-*, ko: Standardize CJK time formats