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.
Files changed (507) hide show
  1. checksums.yaml +4 -4
  2. data/lib/date_picker/form_tag_helper.rb +6 -8
  3. data/lib/date_picker/styles/bootstrap.rb +5 -3
  4. data/lib/date_picker/version.rb +1 -1
  5. data/test/date_picker_test.rb +1 -1
  6. data/test/dummy/app/views/events/_form.html.erb +7 -1
  7. data/test/dummy/bower.json +3 -1
  8. data/test/dummy/config/application.rb +1 -1
  9. data/test/dummy/config/locales/de.yml +25 -0
  10. data/test/dummy/db/development.sqlite3 +0 -0
  11. data/test/dummy/db/test.sqlite3 +0 -0
  12. data/test/dummy/log/development.log +7548 -0
  13. data/test/dummy/log/test.log +53 -0
  14. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-8O4y3ggFiCS6l2ghfLx5jNhbai_agGSwvfw5E_nJxQ.cache +1 -0
  15. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-f9DWVDMmQefFSDt3w15NNkm5qhvtdv7tX6ooxX2zxI.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0zlJMBhKmu2vTsTh22HNGBzzmrz2BbkHoX7Bh-GA1FA.cache +2 -0
  17. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1XpURRZplXvYz9QRtLNTxNtDNicIljEaZb1cDSFv2yM.cache +0 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/24GlbirhuBMtq5hQzhqV2Ilf1Ev8Yls56Tfd6eOfIrA.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3Z8xnNl9CvkMrB_dJ80avERt0Z-X6QGLZ3A2UBj2BrE.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cDPl6PTkPKsB0zdEXtAm7Fb76RFeoxAsu9Kt350OAo.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cp1ZHjyynbgOQZ0EUfQi24MaYyMRKSTQXfYWVComzg.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3k9SVw7U9eDuL5ifC76tTIyy9ilfd1t6y8NiyDscuf0.cache +2 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3tWDgQRBSflnIKdtBmjqAYO6r8efxsfw5TdqKkIzOHE.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3xcZe3mCzNkXedWyMjE0nMShsE8pATwd4Uh86cgou1s.cache +2 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4J-csYAoBFMk9r8FNykt21jL7yxmlrGFJ_0tkn724-k.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/60DImw8_vLj-GS_eapLxMy8XseVPyWLsKMq6vwXEIiU.cache +2 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6_XR-Ji3qhTT9pMPXWVNWqVpPqUVen7je6wBvVtzcho.cache +2 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Gla90O5DBD8XC5MkUovJCnOEjKEzhmEJu9YQeRqCkQ.cache +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8HJegO8w1N1Q0bkS5ytzhlfIf282A-j0KsT5HCr-hWE.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Y5o1B5h76ega_UN-kzeK6J8E_luB_I_jkbZ6xTwYqw.cache +2 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8bNflCb70VFtLkhKgmfwToXf4lGQMC_v84krWLs1ZxQ.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9BKgxSB7mo33TdAqXUQPNHZi7WTN7BCs-mn2Miew7No.cache +1 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9JGo0_oO3xpvtpQaC5LFkfdsgmnVwAGUykUf31_C_FA.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9b3K1dsznJBDoQDqx1BX6j4Of36xhNgo-s9jWckfP-A.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9vLdecjoDCWzBMeglad75P98Ba7Hq19mjhcwuYPAmH8.cache +1 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A4O74qFpxGHzHQqj9bKmjCi7ua1GfSwglfwRcxWwRuA.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BBtzneBZJHY_6PR0T-pycx_1SdaGLtK_owvfyAntdhQ.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BLMMn6WgXsOlHMbr_HD9RUGOZiO5vLHgqC-Ct1PqiEk.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BjrLi-Lz5u1SonV2i1RxGZLcfVGoiWPwnFH1BAgnkxM.cache +3 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BpjsLldPl9ePUjrXxljqf_hInXfDlsDVOJ84YMTuX2Y.cache +1 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BqmRx-MHVYpDBIkuIgM4FNTVIiLBzPsXlcHAo9hXuhA.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C308wuv9b9KYxwxJWy170pboOkJLmaSe1t1C4egeFsI.cache +2 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CK3buEyfWgn85lpjn_t4kPYdOdCsUQz-Hrr4BgRUwQ4.cache +0 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CuCkvu3Jeo5ACaIKWJrFEzVZB8fJ_WiHRTx2l9VgdiI.cache +2 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DILp9t2I7gWHM4Pg0SVykxsJahUXYw56tA0m5WMzBgk.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FUr483UlzOLGZIFj9ac9ZX7Dn5BpVWL8DkMRIFwlIfg.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fs9_IHkeyf7GH2s3YUqHuK-faomeogV1k4BcBYVqN6Q.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Gh3kCIZ697-bjRUQj0qPNZi_1s10p3tGA0kmxb_6ROc.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HLVHx_AitG-r1VEiC8q1o_T6qeuWrlPTJZEUHQyht6c.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jl72Zt-Z70pEOb1nCYRZxRh2T0WwxiuXHDZoM_d-Bys.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JoTYRw-PybCFOzpQ17g3IrpRjDWWqQ81gDRihYwFRcc.cache +1 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jz9Lem-NdLiV9dyryNBakNfJlaM23-TQH8w2Pehu138.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KSSV-U3BRH11y7AYH6cpBIzekvdv2RGE09_XdHrYv5s.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KqZ2q92hIfQUl3GnW8CqRVHCKheexmreTl0apZHM8UI.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lz99fLjXkuH6q9R892qYaIMb5993zrXkbSYtA5lEeS4.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MYDV3QvTQrwKeNSlM8ToNaxyEiB8gVa0KzKNCY_hOzc.cache +2 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MaXmK6cb7Bx1FCpFJP-I0BqQruYTnTzppLSPcXnPUvo.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MhHWcd8OSJUsTgkCF6fjEkBNCzY61DulY9HN3ujVC3o.cache +2 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NF6mdbz0q1g__BVMvMBRVywdq5RVViHSuWa0LdanMrM.cache +4 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NQijxdRa7AgvdyBAXd0fTbhlRV0w39r0kbwnJJ0XgKU.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O9Gy8UQxcmZhq-IXr6vZTnsdtCcN1dzcf4OdNkD-M_w.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Obtf5KUGBNJmL81c6qS85hOgRlaw5dxus2x2gPrc_ZE.cache +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PB830Q15xKwu2t1G3_NHiFM29G0fRlJrg72VE5u8yj4.cache +2 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PQIPUFfEbEE7aX0flnscwetnEfd9OB13YLMVbel8008.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PdZ5Vs1iZd77I9-bGbqLQnoGLSjzvvlVAPlZ0nWHwHo.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q2KLUe6DVaRnlMW6XCiur0AFrcyzmjpBxv2MO3uE_0M.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q2rDDQ6ocbRrhvsnU0RKuvX3YyvfWPAn3vKcJBVfAnI.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QK8O3pS2Jb2qPJ-iJ6lW4WIc8eQlcIUNnodA10UDOGo.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R0Lkjgl0uKryOMaQ0Tzf-TUoqkKvNeMMV0W9biwdbas.cache +2 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RQTkpFIOSqMhRZMJNGOmwY3o1_OpRZO89VrvKiR9bNI.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RdNKkePVAXRsJV6-m-R4t80fQLNdzFcLaC70FxAMCi0.cache +1 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SFeahljjYr8f5Tg3kP3dTw9kF0z4nHUgUKAT074-PZY.cache +4 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SGOoYGD3GXmXfS8XQKNXMl7WVbFcR9wob-D-2ys-nPI.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SR1wknvQIEbYT4BYyiDGnTJLG7q7avAS6DroliBv0yE.cache +1 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TmGulbzd8gSTImhLSpuFV6EatPXBorzL9poqiWrtIpU.cache +2 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UDRMcPCBVMnweRpk2tGSdTIVADJepObiSHfZ2DfashI.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UqNvwyvUC3aVfDxaNioW-yCAfpZ8jnpvtPOkUeJD3eg.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/V8KUFs4dl_-NGILaekUOFgxw2JY7_1ZgvVqynZ1CpB4.cache +1 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vi1BUwU5-mE7HlilaXhG_dpnRGnBz7R_HIK9UhnaeOY.cache +1 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vklyj4FsNBpztN-p7tTLRRaahcINR8vVS09D7gi5DMw.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VtmmXvomtABaCeHM93t4NEseebW9dSNeA5cEyS3Af40.cache +1 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WfSk-P5vx3b3d8gWdNmH4BI6rHnskkavagk3X9Aogzs.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Wfp-4QANT1bfhxgiibtXxIfVeL7PJEIq1MGWaaws2N0.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XSfbbYsWtJwypHi89U1bfSIZEyegYJf-5oDWSLGaZmA.cache +2 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Y-36mIYz7K5IYk4ID9OgRSGUK9Zhmu69LbxfnuUrWx8.cache +1 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZYvKNKkiia3C97DvaOdVaAbJgdns_waHuG7EYj1RP2M.cache +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Z_yKuBUYtzXtrctNQo8QToEg_JzOyyxOtMF3rJxc2y0.cache +2 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_FBWUqJqfCgoRSXkaoktBE0oMOHcSUvduSCj2B0opsg.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_iwslT0f8QN95KnYR6CNi5U_eAab8Gz-0_EI_3btpiI.cache +2 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a0N1UQXZpzX_filUutCuja_HgoQEwkBL0to5oMleB-k.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a5_6hc5lPOLYmBtwRWnsqkgC_-XDBBxLu6qT4plQzjc.cache +1 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bVvNsjPFB5G_h33Qjx-y8L-pWXWpHWOH_afs3hIoChg.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bYudJ58NQOvUj3zIa3sA_njeSuOgMmUk278q6GNcX_s.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bd1tr9XDUCQF8aIK8f6nWK-2tOV7H6-OspX83eEo-ys.cache +2 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/brxG22gqmq7pYyioKiT8fIRQAKwmYnLz7kRuCgRA4I4.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/buVfBh11_A1bTMWTSFpTeTRWa29CXAXCaRLlaIlqnzY.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c9X_ULEajrC9zVkfHfawIWXEMFAsojFsaRH3LYLVkBE.cache +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cc9SCNOyBL9zQabXOFAwymxrVXXqNYOLkR3gHqDDD7E.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/czBt-vYOxNHRt9rHM-acZiB1zK6YQPQrN83va7QXkXs.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/e84IQQ_PDYkCQLaFwEn-BuSDxFefWxUvM5_i7RqOp5Y.cache +1 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eEMP73MQFBOXLaQy1jpKFMnASFdC54Pq9cQc8gUVfuc.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fVJwubwXFiysTnpkML5bY2m3HWcvf2Jrs62NWucHS9Q.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g-nVjVnlp6S9yFxrQHrXztZc_Sd0gy-F_V1sMRuQAgQ.cache +3 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g0t8r5brGIlh4rPvOe5pl3TJ-2ens0erYZmEWHcJKnk.cache +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g9HztOdoQIGG4o1d5QcZ2j8tKmXGJ59fq8JDFlPIm7w.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gHIHRkP9KOyMAN-fmwL-yrOzUeFOnX1_HOw0iGdvqpQ.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gV_HOGVndEexVaRaN43hDYnZRjFbKVgKkdbXtU7b0Rs.cache +2 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gXIqypbuCPBYVAngi0_uAkmFBUaSjO_576wuUGYkFZI.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gmxgmvmfJZSsClEZW_Q8FBKBlzMxA9tQCS_HE5C2WG0.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gv3vLdJaBO4yfP3MARPVKkqoGG5Nf_EO3xqalVglb0k.cache +2 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/h4p5PWuUgqM0XiRx5RpR1wRBim6pS1R4IbebL4wRYas.cache +2 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hIk1IbOpvMqqLDZI71ilM_d46VlvC00rT1Qmgx63V2E.cache +1 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hZH5UdM7h2ds4DjIAba38pHEg4lwAj3N1CGaOtbtRbg.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i-9lVfwhv2T6x0FCEU0LXvKAI1SiV3sgLILbo7qMk7M.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i9KFCgI-wFL4sUDyZvTLPZHcEG1QPXSKYmHR1L7Al9k.cache +1 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iU8bFZigipY0VTXDupaNfeEYWXggqjVFwhA73bNnV6A.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i_rkUPFCl662aQV_ToZBfAhU3TldbvV-BdANe7LtDzE.cache +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iaFuob7KOJeFZNWIH_Cg9yXUyWQbrnUsviqFDlMVtno.cache +1 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jFH5Zor-Nk8IWfIF8ARAsSaKRFsxew7oIghgtQOeqPg.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jazk3C2PL5GA4iB4RPp2rjopAFBpeVmz9YIUlCNfUZQ.cache +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k_6_E39Fbrrm8gXSM4g_jn1SXl6PW0OmZVJNHAw4gX0.cache +1 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ktEdvRowtjkYUiyhscTON8BCGLXjPSNQjTDgQ26-gxk.cache +2 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l5rARDMpLXvDCJUs5Z2_MhQGxPu7tTFIHi56ETkFBUs.cache +1 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lMFEMdDY3pQNj0SndXwq1TWJvRWmYTZuf_-vem5Qc-A.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l_868lTbFLSAuY9wb8i7SK3VSHYAH5--6SzigH7o_LI.cache +2 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lf2qq90kraNfS6BANybjI90sG5Ffgl1V7QkkanhBDkw.cache +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lhGtomNmls_7dWlloeghf533VnVvzdJGu2l40zovnK0.cache +1 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ls2uanW--NmFa73nm25bqGT6YjOhv4Obe0gQgX3aj44.cache +1 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lyb5sE8Kx_VD44GEywtEEZJMF9F7XFkyEJEZIrs7jEE.cache +1 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/m4K7V_ayYBBS3lSbOpajng7wprQKcA4MbjgK5hcAKA8.cache +1 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mbNi1zDMCTRJNvdx0elM7eg7sG2iD1lDwLQkQfPlSEE.cache +1 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/n7JI3B8GArysdoQ9sJ6Yks9LPVm-LVPXOFL16Dss1us.cache +2 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nuSfSDIWohqxJjgPkC__yFyAN33eb_z4nxePnzAj7H4.cache +1 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ny48GJC10WXxO2k_jef7U9ilETyMsu5FpArp8YEWHVk.cache +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nz7VHQVkCBnxYuNeBaUiIKdalHfrvLKDtkkli3qE57k.cache +1 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o0p99xItzB4VOS_76lokZlvMDDtVIn7j-1iUb3kClHA.cache +1 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/odXdjGzmrY1I1KsCjHK5dSXMR-KFPIa57807UHbH_lI.cache +3 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/py-50N8JV8fW06AkQyHjFziT8tFQ9cyZXkO68OLg8FY.cache +3 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/q7IhSJmPr4XYN7bRTJydDdWeGSBStPXCsWwzAdRDHD8.cache +2 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qCOSGD7xiX9-kteobcTp66_qXwo9QHRjMWJl-Qw9StA.cache +1 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qrKLw4Q7NkMvRWgulVSe0Kj_KKxhy671Aaalr-DUE_k.cache +2 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qvRHbSFQ9VDD-JItDCFVlL1Mvmm26bXsSWtS1U87W9I.cache +1 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qxZhpbIyOii2JGS53PxEluN8YBInSBss3g-JrdNgPPQ.cache +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rxQc-Da-9M09OGyU296gIdlPPyTKUmV4KiVQ63Yx23I.cache +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sOcoa0VB6ARE3CwAF7kYRVCSnbWcIdBomnA8pGHYm-4.cache +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/slmEfg4in_kWb9A6oVY7TkAO3f62TNWeb3h4vtLQfcU.cache +1 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tCT50N5Do922cFkvSMCG7vKRHZCExNRWIkZD8NzLN6A.cache +2 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tZ7h37lmYVkCeLKVHSLM8-sVUeZSbyZ_PqbNRCSzYHA.cache +2 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t_RDkU91l12URIZKRcF-hLanzoBVaG7Pi6qURaxdqYs.cache +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tcY6IFGUDaT9KmDhBeR0RdIr3Ed-VYhQiB7iytLlZu4.cache +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uWXKfyOWFxNF1L6l2JgRdfmXZnyCEiU321YAB3wEbtc.cache +3 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ucbZp464hD75mlyMdSwKeF-a-thTGRZ7THKF1SYZfYA.cache +1 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uuIcKYWUaGhBUUfnAntK6fnjC4i5l03giUT_wmCycZw.cache +1 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v1UmYJ7PkH0Ssdd9SZhuXshj3pttgN5UQ11pWVetnQc.cache +1 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vmwuvvOYLAyd84b0m1AbA3SgZe4caQhjZ9V46RXEeDg.cache +2 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w3QfyLfuKDoiuR2gC1enoQ1nEIRQZ6pFUbKSbanS6Uw.cache +1 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wRJA55IL-4AIoAxqO6XMVJR8ekmLIXSne2yX0qcSIEE.cache +1 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xXsiV0MYcgdOWTftYrEED0Amz65HDjoKT75l9TwJrIE.cache +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xmTYhndaOC_PRB6RVAstS9XCMwlgAspAJJGpuCUMQDg.cache +1 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xpn5l5da7G2TbW372NK2JTdbXGsKlHB01g6s2TTt1oo.cache +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yRjeulc3ZS_4eVw4cM0RKkVAUxRpcllyheRFC0da1Rs.cache +1 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z0tBQnKRTnwBuuViUrZbkFeXR_lIziIeL6i-PY9mH6o.cache +1 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z28u48LbS2VjftnbUy-XPJIMUJ1bUii253vK00Wb4Ws.cache +1 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z6IgqnYyw9bfqQs-4nEt6MEHZd23cvpMqtv2uCyV59U.cache +2 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zEVQeKm2isr6lCET0roS4JjlhUoe99MamB080eOtSTc.cache +2 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zWCGKXOngOYarRrijlIxsjj3_Cy7_5Ns4OXQF-V2hP4.cache +1 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zsYBQ3-U4eYcrR2ovZXchbRnYrLRbIngl-q1loSpZUE.cache +2 -0
  168. data/test/dummy/vendor/assets/components/bootstrap/Gruntfile.js +38 -18
  169. data/test/dummy/vendor/assets/components/bootstrap/README.md +13 -10
  170. data/test/dummy/vendor/assets/components/bootstrap/bower.json +3 -8
  171. data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css +125 -14
  172. data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css.map +1 -1
  173. data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.min.css +2 -2
  174. data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.css +292 -76
  175. data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.css.map +1 -1
  176. data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.min.css +2 -2
  177. data/test/dummy/vendor/assets/components/bootstrap/dist/js/bootstrap.js +143 -97
  178. data/test/dummy/vendor/assets/components/bootstrap/dist/js/bootstrap.min.js +4 -4
  179. data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-commonjs-generator.js +9 -2
  180. data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-glyphicons-data-generator.js +4 -3
  181. data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-lessdoc-parser.js +6 -7
  182. data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-raw-files-generator.js +6 -8
  183. data/test/dummy/vendor/assets/components/bootstrap/grunt/configBridge.json +1 -1
  184. data/test/dummy/vendor/assets/components/bootstrap/grunt/sauce_browsers.yml +1 -1
  185. data/test/dummy/vendor/assets/components/bootstrap/js/affix.js +3 -3
  186. data/test/dummy/vendor/assets/components/bootstrap/js/alert.js +2 -2
  187. data/test/dummy/vendor/assets/components/bootstrap/js/button.js +13 -9
  188. data/test/dummy/vendor/assets/components/bootstrap/js/carousel.js +2 -2
  189. data/test/dummy/vendor/assets/components/bootstrap/js/collapse.js +2 -2
  190. data/test/dummy/vendor/assets/components/bootstrap/js/dropdown.js +46 -42
  191. data/test/dummy/vendor/assets/components/bootstrap/js/modal.js +5 -7
  192. data/test/dummy/vendor/assets/components/bootstrap/js/popover.js +2 -2
  193. data/test/dummy/vendor/assets/components/bootstrap/js/scrollspy.js +2 -2
  194. data/test/dummy/vendor/assets/components/bootstrap/js/tab.js +5 -3
  195. data/test/dummy/vendor/assets/components/bootstrap/js/tooltip.js +58 -20
  196. data/test/dummy/vendor/assets/components/bootstrap/js/transition.js +1 -1
  197. data/test/dummy/vendor/assets/components/bootstrap/less/badges.less +1 -1
  198. data/test/dummy/vendor/assets/components/bootstrap/less/bootstrap.less +6 -0
  199. data/test/dummy/vendor/assets/components/bootstrap/less/button-groups.less +3 -2
  200. data/test/dummy/vendor/assets/components/bootstrap/less/buttons.less +11 -5
  201. data/test/dummy/vendor/assets/components/bootstrap/less/carousel.less +2 -2
  202. data/test/dummy/vendor/assets/components/bootstrap/less/dropdowns.less +3 -1
  203. data/test/dummy/vendor/assets/components/bootstrap/less/forms.less +44 -11
  204. data/test/dummy/vendor/assets/components/bootstrap/less/input-groups.less +1 -0
  205. data/test/dummy/vendor/assets/components/bootstrap/less/jumbotron.less +5 -3
  206. data/test/dummy/vendor/assets/components/bootstrap/less/list-group.less +9 -3
  207. data/test/dummy/vendor/assets/components/bootstrap/less/media.less +5 -0
  208. data/test/dummy/vendor/assets/components/bootstrap/less/mixins.less +1 -0
  209. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/background-variant.less +2 -1
  210. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/buttons.less +18 -2
  211. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/grid-framework.less +2 -2
  212. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/grid.less +2 -2
  213. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/hide-text.less +1 -1
  214. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/list-group.less +2 -1
  215. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/pagination.less +2 -1
  216. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/reset-text.less +18 -0
  217. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/responsive-visibility.less +1 -1
  218. data/test/dummy/vendor/assets/components/bootstrap/less/mixins/text-emphasis.less +2 -1
  219. data/test/dummy/vendor/assets/components/bootstrap/less/normalize.less +8 -11
  220. data/test/dummy/vendor/assets/components/bootstrap/less/pagination.less +3 -2
  221. data/test/dummy/vendor/assets/components/bootstrap/less/panels.less +6 -0
  222. data/test/dummy/vendor/assets/components/bootstrap/less/popovers.less +4 -8
  223. data/test/dummy/vendor/assets/components/bootstrap/less/print.less +0 -6
  224. data/test/dummy/vendor/assets/components/bootstrap/less/scaffolding.less +1 -2
  225. data/test/dummy/vendor/assets/components/bootstrap/less/theme.less +23 -5
  226. data/test/dummy/vendor/assets/components/bootstrap/less/tooltip.less +4 -5
  227. data/test/dummy/vendor/assets/components/bootstrap/less/variables.less +7 -1
  228. data/test/dummy/vendor/assets/components/bootstrap/package.js +5 -2
  229. data/test/dummy/vendor/assets/components/bootstrap/package.json +26 -32
  230. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +1 -0
  231. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/Gruntfile.js +42 -45
  232. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/README.md +11 -4
  233. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/bower.json +3 -2
  234. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
  235. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +3 -2
  236. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +2 -369
  237. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +3 -4
  238. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/component.json +1 -1
  239. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/composer.json +1 -1
  240. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
  241. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
  242. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
  243. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
  244. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
  245. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
  246. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
  247. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
  248. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
  249. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
  250. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
  251. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
  252. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/package.json +41 -41
  253. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +189 -64
  254. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +3 -2
  255. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +1 -1
  256. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +6 -2
  257. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +8 -4
  258. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +1 -1
  259. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +11 -11
  260. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +7 -7
  261. data/test/dummy/vendor/assets/components/jquery/bower.json +2 -1
  262. data/test/dummy/vendor/assets/components/jquery/dist/jquery.js +9 -4
  263. data/test/dummy/vendor/assets/components/jquery/dist/jquery.min.js +4 -4
  264. data/test/dummy/vendor/assets/components/jquery/dist/jquery.min.map +1 -1
  265. data/test/dummy/vendor/assets/components/jquery/src/core.js +6 -1
  266. data/test/dummy/vendor/assets/components/moment-timezone/LICENSE +20 -0
  267. data/test/dummy/vendor/assets/components/moment-timezone/README.md +36 -0
  268. data/test/dummy/vendor/assets/components/moment-timezone/bower.json +19 -0
  269. data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1015 -0
  270. data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +6 -0
  271. data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data.js +1015 -0
  272. data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
  273. data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone.min.js +6 -0
  274. data/test/dummy/vendor/assets/components/moment-timezone/changelog.md +82 -0
  275. data/test/dummy/vendor/assets/components/moment-timezone/composer.json +43 -0
  276. data/test/dummy/vendor/assets/components/moment-timezone/data/meta/latest.json +5012 -0
  277. data/test/dummy/vendor/assets/components/moment-timezone/data/packed/latest.json +589 -0
  278. data/test/dummy/vendor/assets/components/moment-timezone/data/unpacked/latest.json +123054 -0
  279. data/test/dummy/vendor/assets/components/moment-timezone/moment-timezone-utils.js +288 -0
  280. data/test/dummy/vendor/assets/components/moment-timezone/moment-timezone.js +426 -0
  281. data/test/dummy/vendor/assets/components/moment/CHANGELOG.md +24 -0
  282. data/test/dummy/vendor/assets/components/moment/LICENSE +1 -1
  283. data/test/dummy/vendor/assets/components/moment/README.md +3 -0
  284. data/test/dummy/vendor/assets/components/moment/bower.json +6 -4
  285. data/test/dummy/vendor/assets/components/moment/locale/af.js +3 -3
  286. data/test/dummy/vendor/assets/components/moment/locale/ar-ma.js +3 -3
  287. data/test/dummy/vendor/assets/components/moment/locale/ar-sa.js +2 -2
  288. data/test/dummy/vendor/assets/components/moment/locale/ar-tn.js +3 -3
  289. data/test/dummy/vendor/assets/components/moment/locale/ar.js +4 -4
  290. data/test/dummy/vendor/assets/components/moment/locale/az.js +3 -3
  291. data/test/dummy/vendor/assets/components/moment/locale/be.js +3 -3
  292. data/test/dummy/vendor/assets/components/moment/locale/bg.js +3 -3
  293. data/test/dummy/vendor/assets/components/moment/locale/bn.js +4 -4
  294. data/test/dummy/vendor/assets/components/moment/locale/bo.js +3 -3
  295. data/test/dummy/vendor/assets/components/moment/locale/br.js +2 -2
  296. data/test/dummy/vendor/assets/components/moment/locale/bs.js +3 -3
  297. data/test/dummy/vendor/assets/components/moment/locale/ca.js +2 -2
  298. data/test/dummy/vendor/assets/components/moment/locale/cs.js +3 -3
  299. data/test/dummy/vendor/assets/components/moment/locale/cv.js +23 -23
  300. data/test/dummy/vendor/assets/components/moment/locale/cy.js +3 -3
  301. data/test/dummy/vendor/assets/components/moment/locale/da.js +3 -3
  302. data/test/dummy/vendor/assets/components/moment/locale/de-at.js +2 -2
  303. data/test/dummy/vendor/assets/components/moment/locale/de.js +2 -2
  304. data/test/dummy/vendor/assets/components/moment/locale/el.js +2 -2
  305. data/test/dummy/vendor/assets/components/moment/locale/en-au.js +2 -2
  306. data/test/dummy/vendor/assets/components/moment/locale/en-ca.js +2 -2
  307. data/test/dummy/vendor/assets/components/moment/locale/en-gb.js +2 -2
  308. data/test/dummy/vendor/assets/components/moment/locale/eo.js +3 -3
  309. data/test/dummy/vendor/assets/components/moment/locale/es.js +8 -8
  310. data/test/dummy/vendor/assets/components/moment/locale/et.js +3 -3
  311. data/test/dummy/vendor/assets/components/moment/locale/eu.js +5 -5
  312. data/test/dummy/vendor/assets/components/moment/locale/fa.js +3 -3
  313. data/test/dummy/vendor/assets/components/moment/locale/fi.js +4 -4
  314. data/test/dummy/vendor/assets/components/moment/locale/fo.js +3 -3
  315. data/test/dummy/vendor/assets/components/moment/locale/fr-ca.js +5 -5
  316. data/test/dummy/vendor/assets/components/moment/locale/fr.js +3 -3
  317. data/test/dummy/vendor/assets/components/moment/locale/fy.js +3 -3
  318. data/test/dummy/vendor/assets/components/moment/locale/gl.js +3 -3
  319. data/test/dummy/vendor/assets/components/moment/locale/he.js +5 -5
  320. data/test/dummy/vendor/assets/components/moment/locale/hi.js +2 -2
  321. data/test/dummy/vendor/assets/components/moment/locale/hr.js +5 -5
  322. data/test/dummy/vendor/assets/components/moment/locale/hu.js +3 -3
  323. data/test/dummy/vendor/assets/components/moment/locale/hy-am.js +3 -3
  324. data/test/dummy/vendor/assets/components/moment/locale/id.js +3 -3
  325. data/test/dummy/vendor/assets/components/moment/locale/is.js +3 -3
  326. data/test/dummy/vendor/assets/components/moment/locale/it.js +3 -3
  327. data/test/dummy/vendor/assets/components/moment/locale/ja.js +3 -3
  328. data/test/dummy/vendor/assets/components/moment/locale/jv.js +82 -0
  329. data/test/dummy/vendor/assets/components/moment/locale/ka.js +2 -2
  330. data/test/dummy/vendor/assets/components/moment/locale/km.js +3 -3
  331. data/test/dummy/vendor/assets/components/moment/locale/ko.js +2 -2
  332. data/test/dummy/vendor/assets/components/moment/locale/lb.js +2 -2
  333. data/test/dummy/vendor/assets/components/moment/locale/lt.js +16 -6
  334. data/test/dummy/vendor/assets/components/moment/locale/lv.js +36 -19
  335. data/test/dummy/vendor/assets/components/moment/locale/me.js +108 -0
  336. data/test/dummy/vendor/assets/components/moment/locale/mk.js +3 -3
  337. data/test/dummy/vendor/assets/components/moment/locale/ml.js +2 -2
  338. data/test/dummy/vendor/assets/components/moment/locale/mr.js +2 -2
  339. data/test/dummy/vendor/assets/components/moment/locale/ms-my.js +3 -3
  340. data/test/dummy/vendor/assets/components/moment/locale/ms.js +81 -0
  341. data/test/dummy/vendor/assets/components/moment/locale/my.js +5 -4
  342. data/test/dummy/vendor/assets/components/moment/locale/nb.js +3 -3
  343. data/test/dummy/vendor/assets/components/moment/locale/ne.js +2 -2
  344. data/test/dummy/vendor/assets/components/moment/locale/nl.js +3 -3
  345. data/test/dummy/vendor/assets/components/moment/locale/nn.js +3 -3
  346. data/test/dummy/vendor/assets/components/moment/locale/pl.js +9 -4
  347. data/test/dummy/vendor/assets/components/moment/locale/pt-br.js +9 -9
  348. data/test/dummy/vendor/assets/components/moment/locale/pt.js +8 -8
  349. data/test/dummy/vendor/assets/components/moment/locale/ro.js +1 -1
  350. data/test/dummy/vendor/assets/components/moment/locale/ru.js +3 -3
  351. data/test/dummy/vendor/assets/components/moment/locale/si.js +64 -0
  352. data/test/dummy/vendor/assets/components/moment/locale/sk.js +3 -3
  353. data/test/dummy/vendor/assets/components/moment/locale/sl.js +52 -39
  354. data/test/dummy/vendor/assets/components/moment/locale/sq.js +3 -3
  355. data/test/dummy/vendor/assets/components/moment/locale/sr-cyrl.js +3 -3
  356. data/test/dummy/vendor/assets/components/moment/locale/sr.js +3 -3
  357. data/test/dummy/vendor/assets/components/moment/locale/sv.js +5 -5
  358. data/test/dummy/vendor/assets/components/moment/locale/ta.js +3 -3
  359. data/test/dummy/vendor/assets/components/moment/locale/th.js +3 -3
  360. data/test/dummy/vendor/assets/components/moment/locale/tl-ph.js +3 -3
  361. data/test/dummy/vendor/assets/components/moment/locale/tr.js +3 -3
  362. data/test/dummy/vendor/assets/components/moment/locale/tzl.js +84 -0
  363. data/test/dummy/vendor/assets/components/moment/locale/tzm-latn.js +3 -3
  364. data/test/dummy/vendor/assets/components/moment/locale/tzm.js +3 -3
  365. data/test/dummy/vendor/assets/components/moment/locale/uk.js +3 -3
  366. data/test/dummy/vendor/assets/components/moment/locale/uz.js +3 -3
  367. data/test/dummy/vendor/assets/components/moment/locale/vi.js +5 -5
  368. data/test/dummy/vendor/assets/components/moment/locale/zh-cn.js +15 -15
  369. data/test/dummy/vendor/assets/components/moment/locale/zh-tw.js +5 -5
  370. data/test/dummy/vendor/assets/components/moment/min/locales.js +759 -344
  371. data/test/dummy/vendor/assets/components/moment/min/locales.min.js +14 -13
  372. data/test/dummy/vendor/assets/components/moment/min/moment-with-locales.js +1060 -532
  373. data/test/dummy/vendor/assets/components/moment/min/moment-with-locales.min.js +21 -20
  374. data/test/dummy/vendor/assets/components/moment/min/moment.min.js +3 -3
  375. data/test/dummy/vendor/assets/components/moment/min/tests.js +3573 -1245
  376. data/test/dummy/vendor/assets/components/moment/moment.js +300 -188
  377. data/test/dummy/vendor/assets/components/moment/src/lib/create/check-overflow.js +4 -3
  378. data/test/dummy/vendor/assets/components/moment/src/lib/create/from-anything.js +15 -12
  379. data/test/dummy/vendor/assets/components/moment/src/lib/create/from-array.js +2 -1
  380. data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string-and-array.js +5 -6
  381. data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string-and-format.js +12 -9
  382. data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string.js +5 -4
  383. data/test/dummy/vendor/assets/components/moment/src/lib/create/{default-parsing-flags.js → parsing-flags.js} +8 -1
  384. data/test/dummy/vendor/assets/components/moment/src/lib/create/valid.js +14 -11
  385. data/test/dummy/vendor/assets/components/moment/src/lib/duration/as.js +9 -9
  386. data/test/dummy/vendor/assets/components/moment/src/lib/duration/bubble.js +23 -16
  387. data/test/dummy/vendor/assets/components/moment/src/lib/duration/iso-string.js +30 -6
  388. data/test/dummy/vendor/assets/components/moment/src/lib/format/format.js +2 -5
  389. data/test/dummy/vendor/assets/components/moment/src/lib/locale/formats.js +13 -9
  390. data/test/dummy/vendor/assets/components/moment/src/lib/locale/locales.js +1 -3
  391. data/test/dummy/vendor/assets/components/moment/src/lib/locale/set.js +1 -1
  392. data/test/dummy/vendor/assets/components/moment/src/lib/moment/calendar.js +2 -2
  393. data/test/dummy/vendor/assets/components/moment/src/lib/moment/constructor.js +4 -3
  394. data/test/dummy/vendor/assets/components/moment/src/lib/moment/from.js +3 -0
  395. data/test/dummy/vendor/assets/components/moment/src/lib/moment/min-max.js +1 -1
  396. data/test/dummy/vendor/assets/components/moment/src/lib/moment/prototype.js +5 -1
  397. data/test/dummy/vendor/assets/components/moment/src/lib/moment/to-type.js +13 -0
  398. data/test/dummy/vendor/assets/components/moment/src/lib/moment/to.js +13 -0
  399. data/test/dummy/vendor/assets/components/moment/src/lib/moment/valid.js +3 -2
  400. data/test/dummy/vendor/assets/components/moment/src/lib/parse/regex.js +8 -1
  401. data/test/dummy/vendor/assets/components/moment/src/lib/units/day-of-week.js +16 -15
  402. data/test/dummy/vendor/assets/components/moment/src/lib/units/day-of-year.js +9 -9
  403. data/test/dummy/vendor/assets/components/moment/src/lib/units/hour.js +2 -1
  404. data/test/dummy/vendor/assets/components/moment/src/lib/units/millisecond.js +30 -8
  405. data/test/dummy/vendor/assets/components/moment/src/lib/units/month.js +2 -1
  406. data/test/dummy/vendor/assets/components/moment/src/lib/units/offset.js +19 -12
  407. data/test/dummy/vendor/assets/components/moment/src/lib/units/year.js +4 -2
  408. data/test/dummy/vendor/assets/components/moment/src/lib/utils/abs-ceil.js +7 -0
  409. data/test/dummy/vendor/assets/components/moment/src/lib/utils/deprecate.js +2 -1
  410. data/test/dummy/vendor/assets/components/moment/src/lib/utils/is-date.js +1 -1
  411. data/test/dummy/vendor/assets/components/moment/src/lib/utils/to-int.js +3 -5
  412. data/test/dummy/vendor/assets/components/moment/src/lib/utils/zero-fill.js +4 -6
  413. data/test/dummy/vendor/assets/components/moment/src/locale/af.js +3 -3
  414. data/test/dummy/vendor/assets/components/moment/src/locale/ar-ma.js +3 -3
  415. data/test/dummy/vendor/assets/components/moment/src/locale/ar-sa.js +2 -2
  416. data/test/dummy/vendor/assets/components/moment/src/locale/ar-tn.js +3 -3
  417. data/test/dummy/vendor/assets/components/moment/src/locale/ar.js +4 -4
  418. data/test/dummy/vendor/assets/components/moment/src/locale/az.js +3 -3
  419. data/test/dummy/vendor/assets/components/moment/src/locale/be.js +3 -3
  420. data/test/dummy/vendor/assets/components/moment/src/locale/bg.js +3 -3
  421. data/test/dummy/vendor/assets/components/moment/src/locale/bn.js +4 -4
  422. data/test/dummy/vendor/assets/components/moment/src/locale/bo.js +3 -3
  423. data/test/dummy/vendor/assets/components/moment/src/locale/br.js +2 -2
  424. data/test/dummy/vendor/assets/components/moment/src/locale/bs.js +3 -3
  425. data/test/dummy/vendor/assets/components/moment/src/locale/ca.js +2 -2
  426. data/test/dummy/vendor/assets/components/moment/src/locale/cs.js +3 -3
  427. data/test/dummy/vendor/assets/components/moment/src/locale/cv.js +23 -24
  428. data/test/dummy/vendor/assets/components/moment/src/locale/cy.js +3 -3
  429. data/test/dummy/vendor/assets/components/moment/src/locale/da.js +3 -3
  430. data/test/dummy/vendor/assets/components/moment/src/locale/de-at.js +2 -2
  431. data/test/dummy/vendor/assets/components/moment/src/locale/de.js +2 -2
  432. data/test/dummy/vendor/assets/components/moment/src/locale/el.js +2 -2
  433. data/test/dummy/vendor/assets/components/moment/src/locale/en-au.js +2 -2
  434. data/test/dummy/vendor/assets/components/moment/src/locale/en-ca.js +2 -2
  435. data/test/dummy/vendor/assets/components/moment/src/locale/en-gb.js +2 -2
  436. data/test/dummy/vendor/assets/components/moment/src/locale/eo.js +3 -3
  437. data/test/dummy/vendor/assets/components/moment/src/locale/es.js +8 -8
  438. data/test/dummy/vendor/assets/components/moment/src/locale/et.js +3 -3
  439. data/test/dummy/vendor/assets/components/moment/src/locale/eu.js +5 -5
  440. data/test/dummy/vendor/assets/components/moment/src/locale/fa.js +3 -3
  441. data/test/dummy/vendor/assets/components/moment/src/locale/fi.js +4 -4
  442. data/test/dummy/vendor/assets/components/moment/src/locale/fo.js +3 -3
  443. data/test/dummy/vendor/assets/components/moment/src/locale/fr-ca.js +5 -5
  444. data/test/dummy/vendor/assets/components/moment/src/locale/fr.js +3 -3
  445. data/test/dummy/vendor/assets/components/moment/src/locale/fy.js +3 -3
  446. data/test/dummy/vendor/assets/components/moment/src/locale/gl.js +3 -3
  447. data/test/dummy/vendor/assets/components/moment/src/locale/he.js +5 -5
  448. data/test/dummy/vendor/assets/components/moment/src/locale/hi.js +2 -2
  449. data/test/dummy/vendor/assets/components/moment/src/locale/hr.js +5 -5
  450. data/test/dummy/vendor/assets/components/moment/src/locale/hu.js +3 -3
  451. data/test/dummy/vendor/assets/components/moment/src/locale/hy-am.js +3 -3
  452. data/test/dummy/vendor/assets/components/moment/src/locale/id.js +3 -3
  453. data/test/dummy/vendor/assets/components/moment/src/locale/is.js +3 -3
  454. data/test/dummy/vendor/assets/components/moment/src/locale/it.js +3 -3
  455. data/test/dummy/vendor/assets/components/moment/src/locale/ja.js +3 -3
  456. data/test/dummy/vendor/assets/components/moment/src/locale/jv.js +73 -0
  457. data/test/dummy/vendor/assets/components/moment/src/locale/ka.js +2 -2
  458. data/test/dummy/vendor/assets/components/moment/src/locale/km.js +3 -3
  459. data/test/dummy/vendor/assets/components/moment/src/locale/ko.js +2 -2
  460. data/test/dummy/vendor/assets/components/moment/src/locale/lb.js +2 -2
  461. data/test/dummy/vendor/assets/components/moment/src/locale/lt.js +16 -6
  462. data/test/dummy/vendor/assets/components/moment/src/locale/lv.js +36 -19
  463. data/test/dummy/vendor/assets/components/moment/src/locale/me.js +99 -0
  464. data/test/dummy/vendor/assets/components/moment/src/locale/mk.js +3 -3
  465. data/test/dummy/vendor/assets/components/moment/src/locale/ml.js +2 -2
  466. data/test/dummy/vendor/assets/components/moment/src/locale/mr.js +2 -2
  467. data/test/dummy/vendor/assets/components/moment/src/locale/ms-my.js +3 -3
  468. data/test/dummy/vendor/assets/components/moment/src/locale/ms.js +73 -0
  469. data/test/dummy/vendor/assets/components/moment/src/locale/my.js +5 -4
  470. data/test/dummy/vendor/assets/components/moment/src/locale/nb.js +3 -3
  471. data/test/dummy/vendor/assets/components/moment/src/locale/ne.js +2 -2
  472. data/test/dummy/vendor/assets/components/moment/src/locale/nl.js +3 -3
  473. data/test/dummy/vendor/assets/components/moment/src/locale/nn.js +3 -3
  474. data/test/dummy/vendor/assets/components/moment/src/locale/pl.js +9 -5
  475. data/test/dummy/vendor/assets/components/moment/src/locale/pt-br.js +9 -9
  476. data/test/dummy/vendor/assets/components/moment/src/locale/pt.js +8 -8
  477. data/test/dummy/vendor/assets/components/moment/src/locale/ro.js +1 -1
  478. data/test/dummy/vendor/assets/components/moment/src/locale/ru.js +3 -3
  479. data/test/dummy/vendor/assets/components/moment/src/locale/si.js +56 -0
  480. data/test/dummy/vendor/assets/components/moment/src/locale/sk.js +3 -3
  481. data/test/dummy/vendor/assets/components/moment/src/locale/sl.js +52 -40
  482. data/test/dummy/vendor/assets/components/moment/src/locale/sq.js +3 -3
  483. data/test/dummy/vendor/assets/components/moment/src/locale/sr-cyrl.js +3 -3
  484. data/test/dummy/vendor/assets/components/moment/src/locale/sr.js +3 -3
  485. data/test/dummy/vendor/assets/components/moment/src/locale/sv.js +5 -5
  486. data/test/dummy/vendor/assets/components/moment/src/locale/ta.js +3 -3
  487. data/test/dummy/vendor/assets/components/moment/src/locale/th.js +3 -3
  488. data/test/dummy/vendor/assets/components/moment/src/locale/tl-ph.js +3 -3
  489. data/test/dummy/vendor/assets/components/moment/src/locale/tr.js +3 -3
  490. data/test/dummy/vendor/assets/components/moment/src/locale/tzl.js +78 -0
  491. data/test/dummy/vendor/assets/components/moment/src/locale/tzm-latn.js +3 -3
  492. data/test/dummy/vendor/assets/components/moment/src/locale/tzm.js +3 -3
  493. data/test/dummy/vendor/assets/components/moment/src/locale/uk.js +3 -3
  494. data/test/dummy/vendor/assets/components/moment/src/locale/uz.js +3 -3
  495. data/test/dummy/vendor/assets/components/moment/src/locale/vi.js +5 -5
  496. data/test/dummy/vendor/assets/components/moment/src/locale/zh-cn.js +15 -15
  497. data/test/dummy/vendor/assets/components/moment/src/locale/zh-tw.js +5 -6
  498. data/test/dummy/vendor/assets/components/moment/src/moment.js +2 -2
  499. metadata +404 -20
  500. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/nuget/Bootstrap.v3.Datetimepicker.4.0.0.nupkg +0 -0
  501. data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/nuget/Bootstrap.v3.Datetimepicker.CSS.4.0.0.nupkg +0 -0
  502. data/test/dummy/vendor/assets/components/moment/Moment.js.nuspec +0 -28
  503. data/test/dummy/vendor/assets/components/moment/benchmarks/clone.js +0 -10
  504. data/test/dummy/vendor/assets/components/moment/meteor/README.md +0 -25
  505. data/test/dummy/vendor/assets/components/moment/meteor/export.js +0 -3
  506. data/test/dummy/vendor/assets/components/moment/meteor/test.js +0 -5
  507. data/test/dummy/vendor/assets/components/moment/scripts/npm_prepublish.sh +0 -43
@@ -3,17 +3,21 @@ export var defaultLongDateFormat = {
3
3
  LT : 'h:mm A',
4
4
  L : 'MM/DD/YYYY',
5
5
  LL : 'MMMM D, YYYY',
6
- LLL : 'MMMM D, YYYY LT',
7
- LLLL : 'dddd, MMMM D, YYYY LT'
6
+ LLL : 'MMMM D, YYYY h:mm A',
7
+ LLLL : 'dddd, MMMM D, YYYY h:mm A'
8
8
  };
9
9
 
10
10
  export function longDateFormat (key) {
11
- var output = this._longDateFormat[key];
12
- if (!output && this._longDateFormat[key.toUpperCase()]) {
13
- output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) {
14
- return val.slice(1);
15
- });
16
- this._longDateFormat[key] = output;
11
+ var format = this._longDateFormat[key],
12
+ formatUpper = this._longDateFormat[key.toUpperCase()];
13
+
14
+ if (format || !formatUpper) {
15
+ return format;
17
16
  }
18
- return output;
17
+
18
+ this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) {
19
+ return val.slice(1);
20
+ });
21
+
22
+ return this._longDateFormat[key];
19
23
  }
@@ -78,9 +78,7 @@ export function getSetGlobalLocale (key, values) {
78
78
  export function defineLocale (name, values) {
79
79
  if (values !== null) {
80
80
  values.abbr = name;
81
- if (!locales[name]) {
82
- locales[name] = new Locale();
83
- }
81
+ locales[name] = locales[name] || new Locale();
84
82
  locales[name].set(values);
85
83
 
86
84
  // backwards compat for now: also set the locale
@@ -10,5 +10,5 @@ export function set (config) {
10
10
  }
11
11
  // Lenient ordinal parsing accepts just a number in addition to
12
12
  // number + (possibly) stuff coming from _ordinalParseLenient.
13
- this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + /\d{1,2}/.source);
13
+ this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + (/\d{1,2}/).source);
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import { createLocal } from '../create/local';
2
2
  import { cloneWithOffset } from '../units/offset';
3
3
 
4
- export function calendar (time) {
4
+ export function calendar (time, formats) {
5
5
  // We want to compare the start of today, vs this.
6
6
  // Getting start-of-today depends on whether we're local/utc/offset or not.
7
7
  var now = time || createLocal(),
@@ -13,5 +13,5 @@ export function calendar (time) {
13
13
  diff < 1 ? 'sameDay' :
14
14
  diff < 2 ? 'nextDay' :
15
15
  diff < 7 ? 'nextWeek' : 'sameElse';
16
- return this.format(this.localeData().calendar(format, this, createLocal(now)));
16
+ return this.format(formats && formats[format] || this.localeData().calendar(format, this, createLocal(now)));
17
17
  }
@@ -1,5 +1,6 @@
1
1
  import { hooks } from '../utils/hooks';
2
2
  import hasOwnProp from '../utils/has-own-prop';
3
+ import getParsingFlags from '../create/parsing-flags';
3
4
 
4
5
  // Plugins that add properties should also add the key here (null value),
5
6
  // so we can properly clone ourselves.
@@ -33,7 +34,7 @@ export function copyConfig(to, from) {
33
34
  to._offset = from._offset;
34
35
  }
35
36
  if (typeof from._pf !== 'undefined') {
36
- to._pf = from._pf;
37
+ to._pf = getParsingFlags(from);
37
38
  }
38
39
  if (typeof from._locale !== 'undefined') {
39
40
  to._locale = from._locale;
@@ -57,7 +58,7 @@ var updateInProgress = false;
57
58
  // Moment prototype object
58
59
  export function Moment(config) {
59
60
  copyConfig(this, config);
60
- this._d = new Date(+config._d);
61
+ this._d = new Date(config._d != null ? config._d.getTime() : NaN);
61
62
  // Prevent infinite loop in case updateOffset creates new moment
62
63
  // objects.
63
64
  if (updateInProgress === false) {
@@ -68,5 +69,5 @@ export function Moment(config) {
68
69
  }
69
70
 
70
71
  export function isMoment (obj) {
71
- return obj instanceof Moment || (obj != null && hasOwnProp(obj, '_isAMomentObject'));
72
+ return obj instanceof Moment || (obj != null && obj._isAMomentObject != null);
72
73
  }
@@ -2,6 +2,9 @@ import { createDuration } from '../duration/create';
2
2
  import { createLocal } from '../create/local';
3
3
 
4
4
  export function from (time, withoutSuffix) {
5
+ if (!this.isValid()) {
6
+ return this.localeData().invalidDate();
7
+ }
5
8
  return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);
6
9
  }
7
10
 
@@ -33,7 +33,7 @@ function pickBy(fn, moments) {
33
33
  }
34
34
  res = moments[0];
35
35
  for (i = 1; i < moments.length; ++i) {
36
- if (moments[i][fn](res)) {
36
+ if (!moments[i].isValid() || moments[i][fn](res)) {
37
37
  res = moments[i];
38
38
  }
39
39
  }
@@ -9,11 +9,12 @@ import { isBefore, isBetween, isSame, isAfter } from './compare';
9
9
  import { diff } from './diff';
10
10
  import { format, toString, toISOString } from './format';
11
11
  import { from, fromNow } from './from';
12
+ import { to, toNow } from './to';
12
13
  import { getSet } from './get-set';
13
14
  import { locale, localeData, lang } from './locale';
14
15
  import { prototypeMin, prototypeMax } from './min-max';
15
16
  import { startOf, endOf } from './start-end-of';
16
- import { valueOf, toDate, toArray, unix } from './to-type';
17
+ import { valueOf, toDate, toArray, toObject, unix } from './to-type';
17
18
  import { isValid, parsingFlags, invalidAt } from './valid';
18
19
 
19
20
  proto.add = add;
@@ -24,6 +25,8 @@ proto.endOf = endOf;
24
25
  proto.format = format;
25
26
  proto.from = from;
26
27
  proto.fromNow = fromNow;
28
+ proto.to = to;
29
+ proto.toNow = toNow;
27
30
  proto.get = getSet;
28
31
  proto.invalidAt = invalidAt;
29
32
  proto.isAfter = isAfter;
@@ -41,6 +44,7 @@ proto.set = getSet;
41
44
  proto.startOf = startOf;
42
45
  proto.subtract = subtract;
43
46
  proto.toArray = toArray;
47
+ proto.toObject = toObject;
44
48
  proto.toDate = toDate;
45
49
  proto.toISOString = toISOString;
46
50
  proto.toJSON = toISOString;
@@ -14,3 +14,16 @@ export function toArray () {
14
14
  var m = this;
15
15
  return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];
16
16
  }
17
+
18
+ export function toObject () {
19
+ var m = this;
20
+ return {
21
+ years: m.year(),
22
+ months: m.month(),
23
+ date: m.date(),
24
+ hours: m.hours(),
25
+ minutes: m.minutes(),
26
+ seconds: m.seconds(),
27
+ milliseconds: m.milliseconds()
28
+ };
29
+ }
@@ -0,0 +1,13 @@
1
+ import { createDuration } from '../duration/create';
2
+ import { createLocal } from '../create/local';
3
+
4
+ export function to (time, withoutSuffix) {
5
+ if (!this.isValid()) {
6
+ return this.localeData().invalidDate();
7
+ }
8
+ return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
9
+ }
10
+
11
+ export function toNow (withoutSuffix) {
12
+ return this.to(createLocal(), withoutSuffix);
13
+ }
@@ -1,14 +1,15 @@
1
1
  import { isValid as _isValid } from '../create/valid';
2
2
  import extend from '../utils/extend';
3
+ import getParsingFlags from '../create/parsing-flags';
3
4
 
4
5
  export function isValid () {
5
6
  return _isValid(this);
6
7
  }
7
8
 
8
9
  export function parsingFlags () {
9
- return extend({}, this._pf);
10
+ return extend({}, getParsingFlags(this));
10
11
  }
11
12
 
12
13
  export function invalidAt () {
13
- return this._pf.overflow;
14
+ return getParsingFlags(this).overflow;
14
15
  }
@@ -22,8 +22,15 @@ import hasOwnProp from '../utils/has-own-prop';
22
22
 
23
23
  var regexes = {};
24
24
 
25
+ function isFunction (sth) {
26
+ // https://github.com/moment/moment/issues/2325
27
+ return typeof sth === 'function' &&
28
+ Object.prototype.toString.call(sth) === '[object Function]';
29
+ }
30
+
31
+
25
32
  export function addRegexToken (token, regex, strictRegex) {
26
- regexes[token] = typeof regex === 'function' ? regex : function (isStrict) {
33
+ regexes[token] = isFunction(regex) ? regex : function (isStrict) {
27
34
  return (isStrict && strictRegex) ? strictRegex : regex;
28
35
  };
29
36
  }
@@ -4,6 +4,7 @@ import { addRegexToken, match1to2, matchWord } from '../parse/regex';
4
4
  import { addWeekParseToken } from '../parse/token';
5
5
  import toInt from '../utils/to-int';
6
6
  import { createLocal } from '../create/local';
7
+ import getParsingFlags from '../create/parsing-flags';
7
8
 
8
9
  // FORMATTING
9
10
 
@@ -45,7 +46,7 @@ addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config) {
45
46
  if (weekday != null) {
46
47
  week.d = weekday;
47
48
  } else {
48
- config._pf.invalidWeekday = input;
49
+ getParsingFlags(config).invalidWeekday = input;
49
50
  }
50
51
  });
51
52
 
@@ -56,18 +57,20 @@ addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
56
57
  // HELPERS
57
58
 
58
59
  function parseWeekday(input, locale) {
59
- if (typeof input === 'string') {
60
- if (!isNaN(input)) {
61
- input = parseInt(input, 10);
62
- }
63
- else {
64
- input = locale.weekdaysParse(input);
65
- if (typeof input !== 'number') {
66
- return null;
67
- }
68
- }
60
+ if (typeof input !== 'string') {
61
+ return input;
62
+ }
63
+
64
+ if (!isNaN(input)) {
65
+ return parseInt(input, 10);
69
66
  }
70
- return input;
67
+
68
+ input = locale.weekdaysParse(input);
69
+ if (typeof input === 'number') {
70
+ return input;
71
+ }
72
+
73
+ return null;
71
74
  }
72
75
 
73
76
  // LOCALES
@@ -90,9 +93,7 @@ export function localeWeekdaysMin (m) {
90
93
  export function localeWeekdaysParse (weekdayName) {
91
94
  var i, mom, regex;
92
95
 
93
- if (!this._weekdaysParse) {
94
- this._weekdaysParse = [];
95
- }
96
+ this._weekdaysParse = this._weekdaysParse || [];
96
97
 
97
98
  for (i = 0; i < 7; i++) {
98
99
  // make the regex if we don't have it already
@@ -26,18 +26,18 @@ addParseToken(['DDD', 'DDDD'], function (input, array, config) {
26
26
 
27
27
  //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
28
28
  export function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) {
29
- var d = createUTCDate(year, 0, 1).getUTCDay();
30
- var daysToAdd;
31
- var dayOfYear;
29
+ var week1Jan = 6 + firstDayOfWeek - firstDayOfWeekOfYear, janX = createUTCDate(year, 0, 1 + week1Jan), d = janX.getUTCDay(), dayOfYear;
30
+ if (d < firstDayOfWeek) {
31
+ d += 7;
32
+ }
32
33
 
33
- d = d === 0 ? 7 : d;
34
- weekday = weekday != null ? weekday : firstDayOfWeek;
35
- daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0);
36
- dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1;
34
+ weekday = weekday != null ? 1 * weekday : firstDayOfWeek;
35
+
36
+ dayOfYear = 1 + week1Jan + 7 * (week - 1) - d + weekday;
37
37
 
38
38
  return {
39
- year : dayOfYear > 0 ? year : year - 1,
40
- dayOfYear : dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear
39
+ year: dayOfYear > 0 ? year : year - 1,
40
+ dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear
41
41
  };
42
42
  }
43
43
 
@@ -5,6 +5,7 @@ import { addRegexToken, match1to2, match2 } from '../parse/regex';
5
5
  import { addParseToken } from '../parse/token';
6
6
  import { HOUR } from './constants';
7
7
  import toInt from '../utils/to-int';
8
+ import getParsingFlags from '../create/parsing-flags';
8
9
 
9
10
  // FORMATTING
10
11
 
@@ -46,7 +47,7 @@ addParseToken(['a', 'A'], function (input, array, config) {
46
47
  });
47
48
  addParseToken(['h', 'hh'], function (input, array, config) {
48
49
  array[HOUR] = toInt(input);
49
- config._pf.bigHour = true;
50
+ getParsingFlags(config).bigHour = true;
50
51
  });
51
52
 
52
53
  // LOCALES
@@ -16,12 +16,26 @@ addFormatToken(0, ['SS', 2], 0, function () {
16
16
  return ~~(this.millisecond() / 10);
17
17
  });
18
18
 
19
- function milliseconds (token) {
20
- addFormatToken(0, [token, 3], 0, 'millisecond');
21
- }
19
+ addFormatToken(0, ['SSS', 3], 0, 'millisecond');
20
+ addFormatToken(0, ['SSSS', 4], 0, function () {
21
+ return this.millisecond() * 10;
22
+ });
23
+ addFormatToken(0, ['SSSSS', 5], 0, function () {
24
+ return this.millisecond() * 100;
25
+ });
26
+ addFormatToken(0, ['SSSSSS', 6], 0, function () {
27
+ return this.millisecond() * 1000;
28
+ });
29
+ addFormatToken(0, ['SSSSSSS', 7], 0, function () {
30
+ return this.millisecond() * 10000;
31
+ });
32
+ addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
33
+ return this.millisecond() * 100000;
34
+ });
35
+ addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
36
+ return this.millisecond() * 1000000;
37
+ });
22
38
 
23
- milliseconds('SSS');
24
- milliseconds('SSSS');
25
39
 
26
40
  // ALIASES
27
41
 
@@ -32,11 +46,19 @@ addUnitAlias('millisecond', 'ms');
32
46
  addRegexToken('S', match1to3, match1);
33
47
  addRegexToken('SS', match1to3, match2);
34
48
  addRegexToken('SSS', match1to3, match3);
35
- addRegexToken('SSSS', matchUnsigned);
36
- addParseToken(['S', 'SS', 'SSS', 'SSSS'], function (input, array) {
49
+
50
+ var token;
51
+ for (token = 'SSSS'; token.length <= 9; token += 'S') {
52
+ addRegexToken(token, matchUnsigned);
53
+ }
54
+
55
+ function parseMs(input, array) {
37
56
  array[MILLISECOND] = toInt(('0.' + input) * 1000);
38
- });
57
+ }
39
58
 
59
+ for (token = 'S'; token.length <= 9; token += 'S') {
60
+ addParseToken(token, parseMs);
61
+ }
40
62
  // MOMENTS
41
63
 
42
64
  export var getSetMillisecond = makeGetSet('Milliseconds', false);
@@ -7,6 +7,7 @@ import { hooks } from '../utils/hooks';
7
7
  import { MONTH } from './constants';
8
8
  import toInt from '../utils/to-int';
9
9
  import { createUTC } from '../create/utc';
10
+ import getParsingFlags from '../create/parsing-flags';
10
11
 
11
12
  export function daysInMonth(year, month) {
12
13
  return new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
@@ -47,7 +48,7 @@ addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
47
48
  if (month != null) {
48
49
  array[MONTH] = month;
49
50
  } else {
50
- config._pf.invalidMonth = input;
51
+ getParsingFlags(config).invalidMonth = input;
51
52
  }
52
53
  });
53
54
 
@@ -1,11 +1,12 @@
1
1
  import zeroFill from '../utils/zero-fill';
2
2
  import { createDuration } from '../duration/create';
3
3
  import { addSubtract } from '../moment/add-subtract';
4
- import { isMoment } from '../moment/constructor';
4
+ import { isMoment, copyConfig } from '../moment/constructor';
5
5
  import { addFormatToken } from '../format/format';
6
6
  import { addRegexToken, matchOffset } from '../parse/regex';
7
7
  import { addParseToken } from '../parse/token';
8
8
  import { createLocal } from '../create/local';
9
+ import { prepareConfig } from '../create/from-anything';
9
10
  import { createUTC } from '../create/utc';
10
11
  import isDate from '../utils/is-date';
11
12
  import toInt from '../utils/to-int';
@@ -67,7 +68,6 @@ export function cloneWithOffset(input, model) {
67
68
  } else {
68
69
  return createLocal(input).local();
69
70
  }
70
- return model._isUTC ? createLocal(input).zone(model._offset || 0) : createLocal(input).local();
71
71
  }
72
72
 
73
73
  function getDateOffset (m) {
@@ -167,12 +167,7 @@ export function setOffsetToParsedOffset () {
167
167
  }
168
168
 
169
169
  export function hasAlignedHourOffset (input) {
170
- if (!input) {
171
- input = 0;
172
- }
173
- else {
174
- input = createLocal(input).utcOffset();
175
- }
170
+ input = input ? createLocal(input).utcOffset() : 0;
176
171
 
177
172
  return (this.utcOffset() - input) % 60 === 0;
178
173
  }
@@ -185,12 +180,24 @@ export function isDaylightSavingTime () {
185
180
  }
186
181
 
187
182
  export function isDaylightSavingTimeShifted () {
188
- if (this._a) {
189
- var other = this._isUTC ? createUTC(this._a) : createLocal(this._a);
190
- return this.isValid() && compareArrays(this._a, other.toArray()) > 0;
183
+ if (typeof this._isDSTShifted !== 'undefined') {
184
+ return this._isDSTShifted;
185
+ }
186
+
187
+ var c = {};
188
+
189
+ copyConfig(c, this);
190
+ c = prepareConfig(c);
191
+
192
+ if (c._a) {
193
+ var other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
194
+ this._isDSTShifted = this.isValid() &&
195
+ compareArrays(c._a, other.toArray()) > 0;
196
+ } else {
197
+ this._isDSTShifted = false;
191
198
  }
192
199
 
193
- return false;
200
+ return this._isDSTShifted;
194
201
  }
195
202
 
196
203
  export function isLocal () {