date_picker 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/date_picker/form_tag_helper.rb +6 -8
- data/lib/date_picker/styles/bootstrap.rb +5 -3
- data/lib/date_picker/version.rb +1 -1
- data/test/date_picker_test.rb +1 -1
- data/test/dummy/app/views/events/_form.html.erb +7 -1
- data/test/dummy/bower.json +3 -1
- data/test/dummy/config/application.rb +1 -1
- data/test/dummy/config/locales/de.yml +25 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +7548 -0
- data/test/dummy/log/test.log +53 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-8O4y3ggFiCS6l2ghfLx5jNhbai_agGSwvfw5E_nJxQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-f9DWVDMmQefFSDt3w15NNkm5qhvtdv7tX6ooxX2zxI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0zlJMBhKmu2vTsTh22HNGBzzmrz2BbkHoX7Bh-GA1FA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1XpURRZplXvYz9QRtLNTxNtDNicIljEaZb1cDSFv2yM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/24GlbirhuBMtq5hQzhqV2Ilf1Ev8Yls56Tfd6eOfIrA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3Z8xnNl9CvkMrB_dJ80avERt0Z-X6QGLZ3A2UBj2BrE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cDPl6PTkPKsB0zdEXtAm7Fb76RFeoxAsu9Kt350OAo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cp1ZHjyynbgOQZ0EUfQi24MaYyMRKSTQXfYWVComzg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3k9SVw7U9eDuL5ifC76tTIyy9ilfd1t6y8NiyDscuf0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3tWDgQRBSflnIKdtBmjqAYO6r8efxsfw5TdqKkIzOHE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3xcZe3mCzNkXedWyMjE0nMShsE8pATwd4Uh86cgou1s.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4J-csYAoBFMk9r8FNykt21jL7yxmlrGFJ_0tkn724-k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/60DImw8_vLj-GS_eapLxMy8XseVPyWLsKMq6vwXEIiU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6_XR-Ji3qhTT9pMPXWVNWqVpPqUVen7je6wBvVtzcho.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Gla90O5DBD8XC5MkUovJCnOEjKEzhmEJu9YQeRqCkQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8HJegO8w1N1Q0bkS5ytzhlfIf282A-j0KsT5HCr-hWE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Y5o1B5h76ega_UN-kzeK6J8E_luB_I_jkbZ6xTwYqw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8bNflCb70VFtLkhKgmfwToXf4lGQMC_v84krWLs1ZxQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9BKgxSB7mo33TdAqXUQPNHZi7WTN7BCs-mn2Miew7No.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9JGo0_oO3xpvtpQaC5LFkfdsgmnVwAGUykUf31_C_FA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9b3K1dsznJBDoQDqx1BX6j4Of36xhNgo-s9jWckfP-A.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9vLdecjoDCWzBMeglad75P98Ba7Hq19mjhcwuYPAmH8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A4O74qFpxGHzHQqj9bKmjCi7ua1GfSwglfwRcxWwRuA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BBtzneBZJHY_6PR0T-pycx_1SdaGLtK_owvfyAntdhQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BLMMn6WgXsOlHMbr_HD9RUGOZiO5vLHgqC-Ct1PqiEk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BjrLi-Lz5u1SonV2i1RxGZLcfVGoiWPwnFH1BAgnkxM.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BpjsLldPl9ePUjrXxljqf_hInXfDlsDVOJ84YMTuX2Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BqmRx-MHVYpDBIkuIgM4FNTVIiLBzPsXlcHAo9hXuhA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C308wuv9b9KYxwxJWy170pboOkJLmaSe1t1C4egeFsI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CK3buEyfWgn85lpjn_t4kPYdOdCsUQz-Hrr4BgRUwQ4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CuCkvu3Jeo5ACaIKWJrFEzVZB8fJ_WiHRTx2l9VgdiI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DILp9t2I7gWHM4Pg0SVykxsJahUXYw56tA0m5WMzBgk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FUr483UlzOLGZIFj9ac9ZX7Dn5BpVWL8DkMRIFwlIfg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fs9_IHkeyf7GH2s3YUqHuK-faomeogV1k4BcBYVqN6Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Gh3kCIZ697-bjRUQj0qPNZi_1s10p3tGA0kmxb_6ROc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HLVHx_AitG-r1VEiC8q1o_T6qeuWrlPTJZEUHQyht6c.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jl72Zt-Z70pEOb1nCYRZxRh2T0WwxiuXHDZoM_d-Bys.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JoTYRw-PybCFOzpQ17g3IrpRjDWWqQ81gDRihYwFRcc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jz9Lem-NdLiV9dyryNBakNfJlaM23-TQH8w2Pehu138.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KSSV-U3BRH11y7AYH6cpBIzekvdv2RGE09_XdHrYv5s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KqZ2q92hIfQUl3GnW8CqRVHCKheexmreTl0apZHM8UI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lz99fLjXkuH6q9R892qYaIMb5993zrXkbSYtA5lEeS4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MYDV3QvTQrwKeNSlM8ToNaxyEiB8gVa0KzKNCY_hOzc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MaXmK6cb7Bx1FCpFJP-I0BqQruYTnTzppLSPcXnPUvo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MhHWcd8OSJUsTgkCF6fjEkBNCzY61DulY9HN3ujVC3o.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NF6mdbz0q1g__BVMvMBRVywdq5RVViHSuWa0LdanMrM.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NQijxdRa7AgvdyBAXd0fTbhlRV0w39r0kbwnJJ0XgKU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O9Gy8UQxcmZhq-IXr6vZTnsdtCcN1dzcf4OdNkD-M_w.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Obtf5KUGBNJmL81c6qS85hOgRlaw5dxus2x2gPrc_ZE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PB830Q15xKwu2t1G3_NHiFM29G0fRlJrg72VE5u8yj4.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PQIPUFfEbEE7aX0flnscwetnEfd9OB13YLMVbel8008.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PdZ5Vs1iZd77I9-bGbqLQnoGLSjzvvlVAPlZ0nWHwHo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q2KLUe6DVaRnlMW6XCiur0AFrcyzmjpBxv2MO3uE_0M.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q2rDDQ6ocbRrhvsnU0RKuvX3YyvfWPAn3vKcJBVfAnI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QK8O3pS2Jb2qPJ-iJ6lW4WIc8eQlcIUNnodA10UDOGo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R0Lkjgl0uKryOMaQ0Tzf-TUoqkKvNeMMV0W9biwdbas.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RQTkpFIOSqMhRZMJNGOmwY3o1_OpRZO89VrvKiR9bNI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RdNKkePVAXRsJV6-m-R4t80fQLNdzFcLaC70FxAMCi0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SFeahljjYr8f5Tg3kP3dTw9kF0z4nHUgUKAT074-PZY.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SGOoYGD3GXmXfS8XQKNXMl7WVbFcR9wob-D-2ys-nPI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SR1wknvQIEbYT4BYyiDGnTJLG7q7avAS6DroliBv0yE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TmGulbzd8gSTImhLSpuFV6EatPXBorzL9poqiWrtIpU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UDRMcPCBVMnweRpk2tGSdTIVADJepObiSHfZ2DfashI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UqNvwyvUC3aVfDxaNioW-yCAfpZ8jnpvtPOkUeJD3eg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/V8KUFs4dl_-NGILaekUOFgxw2JY7_1ZgvVqynZ1CpB4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vi1BUwU5-mE7HlilaXhG_dpnRGnBz7R_HIK9UhnaeOY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vklyj4FsNBpztN-p7tTLRRaahcINR8vVS09D7gi5DMw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VtmmXvomtABaCeHM93t4NEseebW9dSNeA5cEyS3Af40.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WfSk-P5vx3b3d8gWdNmH4BI6rHnskkavagk3X9Aogzs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Wfp-4QANT1bfhxgiibtXxIfVeL7PJEIq1MGWaaws2N0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XSfbbYsWtJwypHi89U1bfSIZEyegYJf-5oDWSLGaZmA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Y-36mIYz7K5IYk4ID9OgRSGUK9Zhmu69LbxfnuUrWx8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZYvKNKkiia3C97DvaOdVaAbJgdns_waHuG7EYj1RP2M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Z_yKuBUYtzXtrctNQo8QToEg_JzOyyxOtMF3rJxc2y0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_FBWUqJqfCgoRSXkaoktBE0oMOHcSUvduSCj2B0opsg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_iwslT0f8QN95KnYR6CNi5U_eAab8Gz-0_EI_3btpiI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a0N1UQXZpzX_filUutCuja_HgoQEwkBL0to5oMleB-k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a5_6hc5lPOLYmBtwRWnsqkgC_-XDBBxLu6qT4plQzjc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bVvNsjPFB5G_h33Qjx-y8L-pWXWpHWOH_afs3hIoChg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bYudJ58NQOvUj3zIa3sA_njeSuOgMmUk278q6GNcX_s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bd1tr9XDUCQF8aIK8f6nWK-2tOV7H6-OspX83eEo-ys.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/brxG22gqmq7pYyioKiT8fIRQAKwmYnLz7kRuCgRA4I4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/buVfBh11_A1bTMWTSFpTeTRWa29CXAXCaRLlaIlqnzY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c9X_ULEajrC9zVkfHfawIWXEMFAsojFsaRH3LYLVkBE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cc9SCNOyBL9zQabXOFAwymxrVXXqNYOLkR3gHqDDD7E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/czBt-vYOxNHRt9rHM-acZiB1zK6YQPQrN83va7QXkXs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/e84IQQ_PDYkCQLaFwEn-BuSDxFefWxUvM5_i7RqOp5Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eEMP73MQFBOXLaQy1jpKFMnASFdC54Pq9cQc8gUVfuc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fVJwubwXFiysTnpkML5bY2m3HWcvf2Jrs62NWucHS9Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g-nVjVnlp6S9yFxrQHrXztZc_Sd0gy-F_V1sMRuQAgQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g0t8r5brGIlh4rPvOe5pl3TJ-2ens0erYZmEWHcJKnk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g9HztOdoQIGG4o1d5QcZ2j8tKmXGJ59fq8JDFlPIm7w.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gHIHRkP9KOyMAN-fmwL-yrOzUeFOnX1_HOw0iGdvqpQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gV_HOGVndEexVaRaN43hDYnZRjFbKVgKkdbXtU7b0Rs.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gXIqypbuCPBYVAngi0_uAkmFBUaSjO_576wuUGYkFZI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gmxgmvmfJZSsClEZW_Q8FBKBlzMxA9tQCS_HE5C2WG0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gv3vLdJaBO4yfP3MARPVKkqoGG5Nf_EO3xqalVglb0k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/h4p5PWuUgqM0XiRx5RpR1wRBim6pS1R4IbebL4wRYas.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hIk1IbOpvMqqLDZI71ilM_d46VlvC00rT1Qmgx63V2E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hZH5UdM7h2ds4DjIAba38pHEg4lwAj3N1CGaOtbtRbg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i-9lVfwhv2T6x0FCEU0LXvKAI1SiV3sgLILbo7qMk7M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i9KFCgI-wFL4sUDyZvTLPZHcEG1QPXSKYmHR1L7Al9k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iU8bFZigipY0VTXDupaNfeEYWXggqjVFwhA73bNnV6A.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i_rkUPFCl662aQV_ToZBfAhU3TldbvV-BdANe7LtDzE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iaFuob7KOJeFZNWIH_Cg9yXUyWQbrnUsviqFDlMVtno.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jFH5Zor-Nk8IWfIF8ARAsSaKRFsxew7oIghgtQOeqPg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jazk3C2PL5GA4iB4RPp2rjopAFBpeVmz9YIUlCNfUZQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k_6_E39Fbrrm8gXSM4g_jn1SXl6PW0OmZVJNHAw4gX0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ktEdvRowtjkYUiyhscTON8BCGLXjPSNQjTDgQ26-gxk.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l5rARDMpLXvDCJUs5Z2_MhQGxPu7tTFIHi56ETkFBUs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lMFEMdDY3pQNj0SndXwq1TWJvRWmYTZuf_-vem5Qc-A.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l_868lTbFLSAuY9wb8i7SK3VSHYAH5--6SzigH7o_LI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lf2qq90kraNfS6BANybjI90sG5Ffgl1V7QkkanhBDkw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lhGtomNmls_7dWlloeghf533VnVvzdJGu2l40zovnK0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ls2uanW--NmFa73nm25bqGT6YjOhv4Obe0gQgX3aj44.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lyb5sE8Kx_VD44GEywtEEZJMF9F7XFkyEJEZIrs7jEE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/m4K7V_ayYBBS3lSbOpajng7wprQKcA4MbjgK5hcAKA8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mbNi1zDMCTRJNvdx0elM7eg7sG2iD1lDwLQkQfPlSEE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/n7JI3B8GArysdoQ9sJ6Yks9LPVm-LVPXOFL16Dss1us.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nuSfSDIWohqxJjgPkC__yFyAN33eb_z4nxePnzAj7H4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ny48GJC10WXxO2k_jef7U9ilETyMsu5FpArp8YEWHVk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nz7VHQVkCBnxYuNeBaUiIKdalHfrvLKDtkkli3qE57k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o0p99xItzB4VOS_76lokZlvMDDtVIn7j-1iUb3kClHA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/odXdjGzmrY1I1KsCjHK5dSXMR-KFPIa57807UHbH_lI.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/py-50N8JV8fW06AkQyHjFziT8tFQ9cyZXkO68OLg8FY.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/q7IhSJmPr4XYN7bRTJydDdWeGSBStPXCsWwzAdRDHD8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qCOSGD7xiX9-kteobcTp66_qXwo9QHRjMWJl-Qw9StA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qrKLw4Q7NkMvRWgulVSe0Kj_KKxhy671Aaalr-DUE_k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qvRHbSFQ9VDD-JItDCFVlL1Mvmm26bXsSWtS1U87W9I.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qxZhpbIyOii2JGS53PxEluN8YBInSBss3g-JrdNgPPQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rxQc-Da-9M09OGyU296gIdlPPyTKUmV4KiVQ63Yx23I.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sOcoa0VB6ARE3CwAF7kYRVCSnbWcIdBomnA8pGHYm-4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/slmEfg4in_kWb9A6oVY7TkAO3f62TNWeb3h4vtLQfcU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tCT50N5Do922cFkvSMCG7vKRHZCExNRWIkZD8NzLN6A.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tZ7h37lmYVkCeLKVHSLM8-sVUeZSbyZ_PqbNRCSzYHA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t_RDkU91l12URIZKRcF-hLanzoBVaG7Pi6qURaxdqYs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tcY6IFGUDaT9KmDhBeR0RdIr3Ed-VYhQiB7iytLlZu4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uWXKfyOWFxNF1L6l2JgRdfmXZnyCEiU321YAB3wEbtc.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ucbZp464hD75mlyMdSwKeF-a-thTGRZ7THKF1SYZfYA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uuIcKYWUaGhBUUfnAntK6fnjC4i5l03giUT_wmCycZw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v1UmYJ7PkH0Ssdd9SZhuXshj3pttgN5UQ11pWVetnQc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vmwuvvOYLAyd84b0m1AbA3SgZe4caQhjZ9V46RXEeDg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w3QfyLfuKDoiuR2gC1enoQ1nEIRQZ6pFUbKSbanS6Uw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wRJA55IL-4AIoAxqO6XMVJR8ekmLIXSne2yX0qcSIEE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xXsiV0MYcgdOWTftYrEED0Amz65HDjoKT75l9TwJrIE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xmTYhndaOC_PRB6RVAstS9XCMwlgAspAJJGpuCUMQDg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xpn5l5da7G2TbW372NK2JTdbXGsKlHB01g6s2TTt1oo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yRjeulc3ZS_4eVw4cM0RKkVAUxRpcllyheRFC0da1Rs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z0tBQnKRTnwBuuViUrZbkFeXR_lIziIeL6i-PY9mH6o.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z28u48LbS2VjftnbUy-XPJIMUJ1bUii253vK00Wb4Ws.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z6IgqnYyw9bfqQs-4nEt6MEHZd23cvpMqtv2uCyV59U.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zEVQeKm2isr6lCET0roS4JjlhUoe99MamB080eOtSTc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zWCGKXOngOYarRrijlIxsjj3_Cy7_5Ns4OXQF-V2hP4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zsYBQ3-U4eYcrR2ovZXchbRnYrLRbIngl-q1loSpZUE.cache +2 -0
- data/test/dummy/vendor/assets/components/bootstrap/Gruntfile.js +38 -18
- data/test/dummy/vendor/assets/components/bootstrap/README.md +13 -10
- data/test/dummy/vendor/assets/components/bootstrap/bower.json +3 -8
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css +125 -14
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css.map +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.min.css +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.css +292 -76
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.css.map +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.min.css +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/dist/js/bootstrap.js +143 -97
- data/test/dummy/vendor/assets/components/bootstrap/dist/js/bootstrap.min.js +4 -4
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-commonjs-generator.js +9 -2
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-glyphicons-data-generator.js +4 -3
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-lessdoc-parser.js +6 -7
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-raw-files-generator.js +6 -8
- data/test/dummy/vendor/assets/components/bootstrap/grunt/configBridge.json +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/grunt/sauce_browsers.yml +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/js/affix.js +3 -3
- data/test/dummy/vendor/assets/components/bootstrap/js/alert.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/button.js +13 -9
- data/test/dummy/vendor/assets/components/bootstrap/js/carousel.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/collapse.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/dropdown.js +46 -42
- data/test/dummy/vendor/assets/components/bootstrap/js/modal.js +5 -7
- data/test/dummy/vendor/assets/components/bootstrap/js/popover.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/scrollspy.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/tab.js +5 -3
- data/test/dummy/vendor/assets/components/bootstrap/js/tooltip.js +58 -20
- data/test/dummy/vendor/assets/components/bootstrap/js/transition.js +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/badges.less +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/bootstrap.less +6 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/button-groups.less +3 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/buttons.less +11 -5
- data/test/dummy/vendor/assets/components/bootstrap/less/carousel.less +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/dropdowns.less +3 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/forms.less +44 -11
- data/test/dummy/vendor/assets/components/bootstrap/less/input-groups.less +1 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/jumbotron.less +5 -3
- data/test/dummy/vendor/assets/components/bootstrap/less/list-group.less +9 -3
- data/test/dummy/vendor/assets/components/bootstrap/less/media.less +5 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins.less +1 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/background-variant.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/buttons.less +18 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/grid-framework.less +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/grid.less +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/hide-text.less +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/list-group.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/pagination.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/reset-text.less +18 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/responsive-visibility.less +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/text-emphasis.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/normalize.less +8 -11
- data/test/dummy/vendor/assets/components/bootstrap/less/pagination.less +3 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/panels.less +6 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/popovers.less +4 -8
- data/test/dummy/vendor/assets/components/bootstrap/less/print.less +0 -6
- data/test/dummy/vendor/assets/components/bootstrap/less/scaffolding.less +1 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/theme.less +23 -5
- data/test/dummy/vendor/assets/components/bootstrap/less/tooltip.less +4 -5
- data/test/dummy/vendor/assets/components/bootstrap/less/variables.less +7 -1
- data/test/dummy/vendor/assets/components/bootstrap/package.js +5 -2
- data/test/dummy/vendor/assets/components/bootstrap/package.json +26 -32
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +1 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/Gruntfile.js +42 -45
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/README.md +11 -4
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/bower.json +3 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +3 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +2 -369
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +3 -4
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/component.json +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/composer.json +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/package.json +41 -41
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +189 -64
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +3 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +6 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +8 -4
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +11 -11
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +7 -7
- data/test/dummy/vendor/assets/components/jquery/bower.json +2 -1
- data/test/dummy/vendor/assets/components/jquery/dist/jquery.js +9 -4
- data/test/dummy/vendor/assets/components/jquery/dist/jquery.min.js +4 -4
- data/test/dummy/vendor/assets/components/jquery/dist/jquery.min.map +1 -1
- data/test/dummy/vendor/assets/components/jquery/src/core.js +6 -1
- data/test/dummy/vendor/assets/components/moment-timezone/LICENSE +20 -0
- data/test/dummy/vendor/assets/components/moment-timezone/README.md +36 -0
- data/test/dummy/vendor/assets/components/moment-timezone/bower.json +19 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1015 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +6 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data.js +1015 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone.min.js +6 -0
- data/test/dummy/vendor/assets/components/moment-timezone/changelog.md +82 -0
- data/test/dummy/vendor/assets/components/moment-timezone/composer.json +43 -0
- data/test/dummy/vendor/assets/components/moment-timezone/data/meta/latest.json +5012 -0
- data/test/dummy/vendor/assets/components/moment-timezone/data/packed/latest.json +589 -0
- data/test/dummy/vendor/assets/components/moment-timezone/data/unpacked/latest.json +123054 -0
- data/test/dummy/vendor/assets/components/moment-timezone/moment-timezone-utils.js +288 -0
- data/test/dummy/vendor/assets/components/moment-timezone/moment-timezone.js +426 -0
- data/test/dummy/vendor/assets/components/moment/CHANGELOG.md +24 -0
- data/test/dummy/vendor/assets/components/moment/LICENSE +1 -1
- data/test/dummy/vendor/assets/components/moment/README.md +3 -0
- data/test/dummy/vendor/assets/components/moment/bower.json +6 -4
- data/test/dummy/vendor/assets/components/moment/locale/af.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ar-ma.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ar-sa.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/ar-tn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ar.js +4 -4
- data/test/dummy/vendor/assets/components/moment/locale/az.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/be.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/bg.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/bn.js +4 -4
- data/test/dummy/vendor/assets/components/moment/locale/bo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/br.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/bs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/cs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/cv.js +23 -23
- data/test/dummy/vendor/assets/components/moment/locale/cy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/da.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/de-at.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/de.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/el.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/en-au.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/en-ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/en-gb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/eo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/es.js +8 -8
- data/test/dummy/vendor/assets/components/moment/locale/et.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/eu.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/fa.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/fi.js +4 -4
- data/test/dummy/vendor/assets/components/moment/locale/fo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/fr-ca.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/fr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/fy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/gl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/he.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/hi.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/hr.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/hu.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/hy-am.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/id.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/is.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/it.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ja.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/jv.js +82 -0
- data/test/dummy/vendor/assets/components/moment/locale/ka.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/km.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ko.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/lb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/lt.js +16 -6
- data/test/dummy/vendor/assets/components/moment/locale/lv.js +36 -19
- data/test/dummy/vendor/assets/components/moment/locale/me.js +108 -0
- data/test/dummy/vendor/assets/components/moment/locale/mk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ml.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/mr.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/ms-my.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ms.js +81 -0
- data/test/dummy/vendor/assets/components/moment/locale/my.js +5 -4
- data/test/dummy/vendor/assets/components/moment/locale/nb.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ne.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/nl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/nn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/pl.js +9 -4
- data/test/dummy/vendor/assets/components/moment/locale/pt-br.js +9 -9
- data/test/dummy/vendor/assets/components/moment/locale/pt.js +8 -8
- data/test/dummy/vendor/assets/components/moment/locale/ro.js +1 -1
- data/test/dummy/vendor/assets/components/moment/locale/ru.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/si.js +64 -0
- data/test/dummy/vendor/assets/components/moment/locale/sk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sl.js +52 -39
- data/test/dummy/vendor/assets/components/moment/locale/sq.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sr-cyrl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sv.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/ta.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/th.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tl-ph.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tzl.js +84 -0
- data/test/dummy/vendor/assets/components/moment/locale/tzm-latn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tzm.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/uk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/uz.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/vi.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/zh-cn.js +15 -15
- data/test/dummy/vendor/assets/components/moment/locale/zh-tw.js +5 -5
- data/test/dummy/vendor/assets/components/moment/min/locales.js +759 -344
- data/test/dummy/vendor/assets/components/moment/min/locales.min.js +14 -13
- data/test/dummy/vendor/assets/components/moment/min/moment-with-locales.js +1060 -532
- data/test/dummy/vendor/assets/components/moment/min/moment-with-locales.min.js +21 -20
- data/test/dummy/vendor/assets/components/moment/min/moment.min.js +3 -3
- data/test/dummy/vendor/assets/components/moment/min/tests.js +3573 -1245
- data/test/dummy/vendor/assets/components/moment/moment.js +300 -188
- data/test/dummy/vendor/assets/components/moment/src/lib/create/check-overflow.js +4 -3
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-anything.js +15 -12
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-array.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string-and-array.js +5 -6
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string-and-format.js +12 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string.js +5 -4
- data/test/dummy/vendor/assets/components/moment/src/lib/create/{default-parsing-flags.js → parsing-flags.js} +8 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/create/valid.js +14 -11
- data/test/dummy/vendor/assets/components/moment/src/lib/duration/as.js +9 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/duration/bubble.js +23 -16
- data/test/dummy/vendor/assets/components/moment/src/lib/duration/iso-string.js +30 -6
- data/test/dummy/vendor/assets/components/moment/src/lib/format/format.js +2 -5
- data/test/dummy/vendor/assets/components/moment/src/lib/locale/formats.js +13 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/locale/locales.js +1 -3
- data/test/dummy/vendor/assets/components/moment/src/lib/locale/set.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/calendar.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/constructor.js +4 -3
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/from.js +3 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/min-max.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/prototype.js +5 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/to-type.js +13 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/to.js +13 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/valid.js +3 -2
- data/test/dummy/vendor/assets/components/moment/src/lib/parse/regex.js +8 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/units/day-of-week.js +16 -15
- data/test/dummy/vendor/assets/components/moment/src/lib/units/day-of-year.js +9 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/units/hour.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/units/millisecond.js +30 -8
- data/test/dummy/vendor/assets/components/moment/src/lib/units/month.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/units/offset.js +19 -12
- data/test/dummy/vendor/assets/components/moment/src/lib/units/year.js +4 -2
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/abs-ceil.js +7 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/deprecate.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/is-date.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/to-int.js +3 -5
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/zero-fill.js +4 -6
- data/test/dummy/vendor/assets/components/moment/src/locale/af.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ar-ma.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ar-sa.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/ar-tn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ar.js +4 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/az.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/be.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/bg.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/bn.js +4 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/bo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/br.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/bs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/cs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/cv.js +23 -24
- data/test/dummy/vendor/assets/components/moment/src/locale/cy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/da.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/de-at.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/de.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/el.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/en-au.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/en-ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/en-gb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/eo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/es.js +8 -8
- data/test/dummy/vendor/assets/components/moment/src/locale/et.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/eu.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/fa.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/fi.js +4 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/fo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/fr-ca.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/fr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/fy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/gl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/he.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/hi.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/hr.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/hu.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/hy-am.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/id.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/is.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/it.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ja.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/jv.js +73 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/ka.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/km.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ko.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/lb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/lt.js +16 -6
- data/test/dummy/vendor/assets/components/moment/src/locale/lv.js +36 -19
- data/test/dummy/vendor/assets/components/moment/src/locale/me.js +99 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/mk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ml.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/mr.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/ms-my.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ms.js +73 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/my.js +5 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/nb.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ne.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/nl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/nn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/pl.js +9 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/pt-br.js +9 -9
- data/test/dummy/vendor/assets/components/moment/src/locale/pt.js +8 -8
- data/test/dummy/vendor/assets/components/moment/src/locale/ro.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/locale/ru.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/si.js +56 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/sk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sl.js +52 -40
- data/test/dummy/vendor/assets/components/moment/src/locale/sq.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sr-cyrl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sv.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/ta.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/th.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tl-ph.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tzl.js +78 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/tzm-latn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tzm.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/uk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/uz.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/vi.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/zh-cn.js +15 -15
- data/test/dummy/vendor/assets/components/moment/src/locale/zh-tw.js +5 -6
- data/test/dummy/vendor/assets/components/moment/src/moment.js +2 -2
- metadata +404 -20
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/nuget/Bootstrap.v3.Datetimepicker.4.0.0.nupkg +0 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/nuget/Bootstrap.v3.Datetimepicker.CSS.4.0.0.nupkg +0 -0
- data/test/dummy/vendor/assets/components/moment/Moment.js.nuspec +0 -28
- data/test/dummy/vendor/assets/components/moment/benchmarks/clone.js +0 -10
- data/test/dummy/vendor/assets/components/moment/meteor/README.md +0 -25
- data/test/dummy/vendor/assets/components/moment/meteor/export.js +0 -3
- data/test/dummy/vendor/assets/components/moment/meteor/test.js +0 -5
- data/test/dummy/vendor/assets/components/moment/scripts/npm_prepublish.sh +0 -43
@@ -1,11 +1,12 @@
|
|
1
1
|
import { daysInMonth } from '../units/month';
|
2
2
|
import { YEAR, MONTH, DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants';
|
3
|
+
import getParsingFlags from '../create/parsing-flags';
|
3
4
|
|
4
5
|
export default function checkOverflow (m) {
|
5
6
|
var overflow;
|
6
7
|
var a = m._a;
|
7
8
|
|
8
|
-
if (a && m.
|
9
|
+
if (a && getParsingFlags(m).overflow === -2) {
|
9
10
|
overflow =
|
10
11
|
a[MONTH] < 0 || a[MONTH] > 11 ? MONTH :
|
11
12
|
a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE :
|
@@ -15,11 +16,11 @@ export default function checkOverflow (m) {
|
|
15
16
|
a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND :
|
16
17
|
-1;
|
17
18
|
|
18
|
-
if (m.
|
19
|
+
if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
|
19
20
|
overflow = DATE;
|
20
21
|
}
|
21
22
|
|
22
|
-
m.
|
23
|
+
getParsingFlags(m).overflow = overflow;
|
23
24
|
}
|
24
25
|
|
25
26
|
return m;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import defaultParsingFlags from './default-parsing-flags';
|
2
1
|
import isArray from '../utils/is-array';
|
3
2
|
import isDate from '../utils/is-date';
|
4
3
|
import map from '../utils/map';
|
@@ -15,9 +14,19 @@ import { configFromArray } from './from-array';
|
|
15
14
|
import { configFromObject } from './from-object';
|
16
15
|
|
17
16
|
function createFromConfig (config) {
|
17
|
+
var res = new Moment(checkOverflow(prepareConfig(config)));
|
18
|
+
if (res._nextDay) {
|
19
|
+
// Adding is smart enough around DST
|
20
|
+
res.add(1, 'd');
|
21
|
+
res._nextDay = undefined;
|
22
|
+
}
|
23
|
+
|
24
|
+
return res;
|
25
|
+
}
|
26
|
+
|
27
|
+
export function prepareConfig (config) {
|
18
28
|
var input = config._i,
|
19
|
-
format = config._f
|
20
|
-
res;
|
29
|
+
format = config._f;
|
21
30
|
|
22
31
|
config._locale = config._locale || getLocale(config._l);
|
23
32
|
|
@@ -35,18 +44,13 @@ function createFromConfig (config) {
|
|
35
44
|
configFromStringAndArray(config);
|
36
45
|
} else if (format) {
|
37
46
|
configFromStringAndFormat(config);
|
47
|
+
} else if (isDate(input)) {
|
48
|
+
config._d = input;
|
38
49
|
} else {
|
39
50
|
configFromInput(config);
|
40
51
|
}
|
41
52
|
|
42
|
-
|
43
|
-
if (res._nextDay) {
|
44
|
-
// Adding is smart enough around DST
|
45
|
-
res.add(1, 'd');
|
46
|
-
res._nextDay = undefined;
|
47
|
-
}
|
48
|
-
|
49
|
-
return res;
|
53
|
+
return config;
|
50
54
|
}
|
51
55
|
|
52
56
|
function configFromInput(config) {
|
@@ -87,7 +91,6 @@ export function createLocalOrUTC (input, format, locale, strict, isUTC) {
|
|
87
91
|
c._i = input;
|
88
92
|
c._f = format;
|
89
93
|
c._strict = strict;
|
90
|
-
c._pf = defaultParsingFlags();
|
91
94
|
|
92
95
|
return createFromConfig(c);
|
93
96
|
}
|
@@ -5,6 +5,7 @@ import { dayOfYearFromWeeks } from '../units/day-of-year';
|
|
5
5
|
import { YEAR, MONTH, DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants';
|
6
6
|
import { createLocal } from './local';
|
7
7
|
import defaults from '../utils/defaults';
|
8
|
+
import getParsingFlags from './parsing-flags';
|
8
9
|
|
9
10
|
function currentDateArray(config) {
|
10
11
|
var now = new Date();
|
@@ -37,7 +38,7 @@ export function configFromArray (config) {
|
|
37
38
|
yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
|
38
39
|
|
39
40
|
if (config._dayOfYear > daysInYear(yearToUse)) {
|
40
|
-
config.
|
41
|
+
getParsingFlags(config)._overflowDayOfYear = true;
|
41
42
|
}
|
42
43
|
|
43
44
|
date = createUTCDate(yearToUse, 0, config._dayOfYear);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { copyConfig } from '../moment/constructor';
|
2
2
|
import { configFromStringAndFormat } from './from-string-and-format';
|
3
|
-
import
|
3
|
+
import getParsingFlags from './parsing-flags';
|
4
4
|
import { isValid } from './valid';
|
5
5
|
import extend from '../utils/extend';
|
6
6
|
|
@@ -14,7 +14,7 @@ export function configFromStringAndArray(config) {
|
|
14
14
|
currentScore;
|
15
15
|
|
16
16
|
if (config._f.length === 0) {
|
17
|
-
config.
|
17
|
+
getParsingFlags(config).invalidFormat = true;
|
18
18
|
config._d = new Date(NaN);
|
19
19
|
return;
|
20
20
|
}
|
@@ -25,7 +25,6 @@ export function configFromStringAndArray(config) {
|
|
25
25
|
if (config._useUTC != null) {
|
26
26
|
tempConfig._useUTC = config._useUTC;
|
27
27
|
}
|
28
|
-
tempConfig._pf = defaultParsingFlags();
|
29
28
|
tempConfig._f = config._f[i];
|
30
29
|
configFromStringAndFormat(tempConfig);
|
31
30
|
|
@@ -34,12 +33,12 @@ export function configFromStringAndArray(config) {
|
|
34
33
|
}
|
35
34
|
|
36
35
|
// if there is any input that was not parsed add a penalty for that format
|
37
|
-
currentScore += tempConfig.
|
36
|
+
currentScore += getParsingFlags(tempConfig).charsLeftOver;
|
38
37
|
|
39
38
|
//or tokens
|
40
|
-
currentScore += tempConfig.
|
39
|
+
currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
|
41
40
|
|
42
|
-
tempConfig.
|
41
|
+
getParsingFlags(tempConfig).score = currentScore;
|
43
42
|
|
44
43
|
if (scoreToBeat == null || currentScore < scoreToBeat) {
|
45
44
|
scoreToBeat = currentScore;
|
@@ -6,6 +6,7 @@ import { expandFormat, formatTokenFunctions, formattingTokens } from '../format/
|
|
6
6
|
import checkOverflow from './check-overflow';
|
7
7
|
import { HOUR } from '../units/constants';
|
8
8
|
import { hooks } from '../utils/hooks';
|
9
|
+
import getParsingFlags from './parsing-flags';
|
9
10
|
|
10
11
|
// constant that refers to the ISO standard
|
11
12
|
hooks.ISO_8601 = function () {};
|
@@ -19,7 +20,7 @@ export function configFromStringAndFormat(config) {
|
|
19
20
|
}
|
20
21
|
|
21
22
|
config._a = [];
|
22
|
-
config.
|
23
|
+
getParsingFlags(config).empty = true;
|
23
24
|
|
24
25
|
// This array is used to make a Date, either with `new Date` or `Date.UTC`
|
25
26
|
var string = '' + config._i,
|
@@ -35,7 +36,7 @@ export function configFromStringAndFormat(config) {
|
|
35
36
|
if (parsedInput) {
|
36
37
|
skipped = string.substr(0, string.indexOf(parsedInput));
|
37
38
|
if (skipped.length > 0) {
|
38
|
-
config.
|
39
|
+
getParsingFlags(config).unusedInput.push(skipped);
|
39
40
|
}
|
40
41
|
string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
|
41
42
|
totalParsedInputLength += parsedInput.length;
|
@@ -43,27 +44,29 @@ export function configFromStringAndFormat(config) {
|
|
43
44
|
// don't parse if it's not a known token
|
44
45
|
if (formatTokenFunctions[token]) {
|
45
46
|
if (parsedInput) {
|
46
|
-
config.
|
47
|
+
getParsingFlags(config).empty = false;
|
47
48
|
}
|
48
49
|
else {
|
49
|
-
config.
|
50
|
+
getParsingFlags(config).unusedTokens.push(token);
|
50
51
|
}
|
51
52
|
addTimeToArrayFromToken(token, parsedInput, config);
|
52
53
|
}
|
53
54
|
else if (config._strict && !parsedInput) {
|
54
|
-
config.
|
55
|
+
getParsingFlags(config).unusedTokens.push(token);
|
55
56
|
}
|
56
57
|
}
|
57
58
|
|
58
59
|
// add remaining unparsed input length to the string
|
59
|
-
config.
|
60
|
+
getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;
|
60
61
|
if (string.length > 0) {
|
61
|
-
config.
|
62
|
+
getParsingFlags(config).unusedInput.push(string);
|
62
63
|
}
|
63
64
|
|
64
65
|
// clear _12h flag if hour is <= 12
|
65
|
-
if (config.
|
66
|
-
|
66
|
+
if (getParsingFlags(config).bigHour === true &&
|
67
|
+
config._a[HOUR] <= 12 &&
|
68
|
+
config._a[HOUR] > 0) {
|
69
|
+
getParsingFlags(config).bigHour = undefined;
|
67
70
|
}
|
68
71
|
// handle meridiem
|
69
72
|
config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);
|
@@ -2,6 +2,7 @@ import { matchOffset } from '../parse/regex';
|
|
2
2
|
import { configFromStringAndFormat } from './from-string-and-format';
|
3
3
|
import { hooks } from '../utils/hooks';
|
4
4
|
import { deprecate } from '../utils/deprecate';
|
5
|
+
import getParsingFlags from './parsing-flags';
|
5
6
|
|
6
7
|
// iso 8601 regex
|
7
8
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
@@ -32,17 +33,17 @@ export function configFromISO(config) {
|
|
32
33
|
match = isoRegex.exec(string);
|
33
34
|
|
34
35
|
if (match) {
|
35
|
-
config.
|
36
|
+
getParsingFlags(config).iso = true;
|
36
37
|
for (i = 0, l = isoDates.length; i < l; i++) {
|
37
38
|
if (isoDates[i][1].exec(string)) {
|
38
|
-
|
39
|
-
config._f = isoDates[i][0] + (match[6] || ' ');
|
39
|
+
config._f = isoDates[i][0];
|
40
40
|
break;
|
41
41
|
}
|
42
42
|
}
|
43
43
|
for (i = 0, l = isoTimes.length; i < l; i++) {
|
44
44
|
if (isoTimes[i][1].exec(string)) {
|
45
|
-
|
45
|
+
// match[6] should be 'T' or space
|
46
|
+
config._f += (match[6] || ' ') + isoTimes[i][0];
|
46
47
|
break;
|
47
48
|
}
|
48
49
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
function defaultParsingFlags() {
|
2
2
|
// We need to deep clone this object.
|
3
3
|
return {
|
4
4
|
empty : false,
|
@@ -13,3 +13,10 @@ export default function defaultParsingFlags() {
|
|
13
13
|
iso : false
|
14
14
|
};
|
15
15
|
}
|
16
|
+
|
17
|
+
export default function getParsingFlags(m) {
|
18
|
+
if (m._pf == null) {
|
19
|
+
m._pf = defaultParsingFlags();
|
20
|
+
}
|
21
|
+
return m._pf;
|
22
|
+
}
|
@@ -1,21 +1,24 @@
|
|
1
1
|
import extend from '../utils/extend';
|
2
2
|
import { createUTC } from './utc';
|
3
|
+
import getParsingFlags from '../create/parsing-flags';
|
3
4
|
|
4
5
|
export function isValid(m) {
|
5
6
|
if (m._isValid == null) {
|
7
|
+
var flags = getParsingFlags(m);
|
6
8
|
m._isValid = !isNaN(m._d.getTime()) &&
|
7
|
-
|
8
|
-
!
|
9
|
-
!
|
10
|
-
!
|
11
|
-
!
|
12
|
-
!
|
9
|
+
flags.overflow < 0 &&
|
10
|
+
!flags.empty &&
|
11
|
+
!flags.invalidMonth &&
|
12
|
+
!flags.invalidWeekday &&
|
13
|
+
!flags.nullInput &&
|
14
|
+
!flags.invalidFormat &&
|
15
|
+
!flags.userInvalidated;
|
13
16
|
|
14
17
|
if (m._strict) {
|
15
18
|
m._isValid = m._isValid &&
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
+
flags.charsLeftOver === 0 &&
|
20
|
+
flags.unusedTokens.length === 0 &&
|
21
|
+
flags.bigHour === undefined;
|
19
22
|
}
|
20
23
|
}
|
21
24
|
return m._isValid;
|
@@ -24,10 +27,10 @@ export function isValid(m) {
|
|
24
27
|
export function createInvalid (flags) {
|
25
28
|
var m = createUTC(NaN);
|
26
29
|
if (flags != null) {
|
27
|
-
extend(m
|
30
|
+
extend(getParsingFlags(m), flags);
|
28
31
|
}
|
29
32
|
else {
|
30
|
-
m.
|
33
|
+
getParsingFlags(m).userInvalidated = true;
|
31
34
|
}
|
32
35
|
|
33
36
|
return m;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { daysToMonths, monthsToDays } from './bubble';
|
2
2
|
import { normalizeUnits } from '../units/aliases';
|
3
3
|
import toInt from '../utils/to-int';
|
4
4
|
|
@@ -11,19 +11,19 @@ export function as (units) {
|
|
11
11
|
|
12
12
|
if (units === 'month' || units === 'year') {
|
13
13
|
days = this._days + milliseconds / 864e5;
|
14
|
-
months = this._months +
|
14
|
+
months = this._months + daysToMonths(days);
|
15
15
|
return units === 'month' ? months : months / 12;
|
16
16
|
} else {
|
17
17
|
// handle milliseconds separately because of floating point math errors (issue #1867)
|
18
|
-
days = this._days + Math.round(
|
18
|
+
days = this._days + Math.round(monthsToDays(this._months));
|
19
19
|
switch (units) {
|
20
|
-
case 'week' : return days / 7
|
21
|
-
case 'day' : return days
|
22
|
-
case 'hour' : return days * 24
|
23
|
-
case 'minute' : return days *
|
24
|
-
case 'second' : return days *
|
20
|
+
case 'week' : return days / 7 + milliseconds / 6048e5;
|
21
|
+
case 'day' : return days + milliseconds / 864e5;
|
22
|
+
case 'hour' : return days * 24 + milliseconds / 36e5;
|
23
|
+
case 'minute' : return days * 1440 + milliseconds / 6e4;
|
24
|
+
case 'second' : return days * 86400 + milliseconds / 1000;
|
25
25
|
// Math.floor prevents floating point math errors here
|
26
|
-
case 'millisecond': return Math.floor(days *
|
26
|
+
case 'millisecond': return Math.floor(days * 864e5) + milliseconds;
|
27
27
|
default: throw new Error('Unknown unit ' + units);
|
28
28
|
}
|
29
29
|
}
|
@@ -1,11 +1,22 @@
|
|
1
1
|
import absFloor from '../utils/abs-floor';
|
2
|
+
import absCeil from '../utils/abs-ceil';
|
3
|
+
import { createUTCDate } from '../create/date-from-array';
|
2
4
|
|
3
5
|
export function bubble () {
|
4
6
|
var milliseconds = this._milliseconds;
|
5
7
|
var days = this._days;
|
6
8
|
var months = this._months;
|
7
9
|
var data = this._data;
|
8
|
-
var seconds, minutes, hours, years
|
10
|
+
var seconds, minutes, hours, years, monthsFromDays;
|
11
|
+
|
12
|
+
// if we have a mix of positive and negative values, bubble down first
|
13
|
+
// check: https://github.com/moment/moment/issues/2166
|
14
|
+
if (!((milliseconds >= 0 && days >= 0 && months >= 0) ||
|
15
|
+
(milliseconds <= 0 && days <= 0 && months <= 0))) {
|
16
|
+
milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
|
17
|
+
days = 0;
|
18
|
+
months = 0;
|
19
|
+
}
|
9
20
|
|
10
21
|
// The following code bubbles up values, see the tests for
|
11
22
|
// examples of what that means.
|
@@ -22,17 +33,13 @@ export function bubble () {
|
|
22
33
|
|
23
34
|
days += absFloor(hours / 24);
|
24
35
|
|
25
|
-
//
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
// 30 days to a month
|
30
|
-
// TODO (iskren): Use anchor date (like 1st Jan) to compute this.
|
31
|
-
months += absFloor(days / 30);
|
32
|
-
days %= 30;
|
36
|
+
// convert days to months
|
37
|
+
monthsFromDays = absFloor(daysToMonths(days));
|
38
|
+
months += monthsFromDays;
|
39
|
+
days -= absCeil(monthsToDays(monthsFromDays));
|
33
40
|
|
34
41
|
// 12 months -> 1 year
|
35
|
-
years
|
42
|
+
years = absFloor(months / 12);
|
36
43
|
months %= 12;
|
37
44
|
|
38
45
|
data.days = days;
|
@@ -42,13 +49,13 @@ export function bubble () {
|
|
42
49
|
return this;
|
43
50
|
}
|
44
51
|
|
45
|
-
export function
|
52
|
+
export function daysToMonths (days) {
|
46
53
|
// 400 years have 146097 days (taking into account leap year rules)
|
47
|
-
|
54
|
+
// 400 years have 12 months === 4800
|
55
|
+
return days * 4800 / 146097;
|
48
56
|
}
|
49
57
|
|
50
|
-
export function
|
51
|
-
//
|
52
|
-
|
53
|
-
return years * 146097 / 400;
|
58
|
+
export function monthsToDays (months) {
|
59
|
+
// the reverse of daysToMonths
|
60
|
+
return months * 146097 / 4800;
|
54
61
|
}
|
@@ -1,13 +1,37 @@
|
|
1
|
+
import absFloor from '../utils/abs-floor';
|
1
2
|
var abs = Math.abs;
|
2
3
|
|
3
4
|
export function toISOString() {
|
5
|
+
// for ISO strings we do not use the normal bubbling rules:
|
6
|
+
// * milliseconds bubble up until they become hours
|
7
|
+
// * days do not bubble at all
|
8
|
+
// * months bubble up until they become years
|
9
|
+
// This is because there is no context-free conversion between hours and days
|
10
|
+
// (think of clock changes)
|
11
|
+
// and also not between days and months (28-31 days per month)
|
12
|
+
var seconds = abs(this._milliseconds) / 1000;
|
13
|
+
var days = abs(this._days);
|
14
|
+
var months = abs(this._months);
|
15
|
+
var minutes, hours, years;
|
16
|
+
|
17
|
+
// 3600 seconds -> 60 minutes -> 1 hour
|
18
|
+
minutes = absFloor(seconds / 60);
|
19
|
+
hours = absFloor(minutes / 60);
|
20
|
+
seconds %= 60;
|
21
|
+
minutes %= 60;
|
22
|
+
|
23
|
+
// 12 months -> 1 year
|
24
|
+
years = absFloor(months / 12);
|
25
|
+
months %= 12;
|
26
|
+
|
27
|
+
|
4
28
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
5
|
-
var Y =
|
6
|
-
var M =
|
7
|
-
var D =
|
8
|
-
var h =
|
9
|
-
var m =
|
10
|
-
var s =
|
29
|
+
var Y = years;
|
30
|
+
var M = months;
|
31
|
+
var D = days;
|
32
|
+
var h = hours;
|
33
|
+
var m = minutes;
|
34
|
+
var s = seconds;
|
11
35
|
var total = this.asSeconds();
|
12
36
|
|
13
37
|
if (!total) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import zeroFill from '../utils/zero-fill';
|
2
2
|
|
3
|
-
export var formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,
|
3
|
+
export var formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;
|
4
4
|
|
5
5
|
var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g;
|
6
6
|
|
@@ -68,10 +68,7 @@ export function formatMoment(m, format) {
|
|
68
68
|
}
|
69
69
|
|
70
70
|
format = expandFormat(format, m.localeData());
|
71
|
-
|
72
|
-
if (!formatFunctions[format]) {
|
73
|
-
formatFunctions[format] = makeFormatFunction(format);
|
74
|
-
}
|
71
|
+
formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);
|
75
72
|
|
76
73
|
return formatFunctions[format](m);
|
77
74
|
}
|