From 1d847d893a5a0ec555eca35ddd07281f1a0eb193 Mon Sep 17 00:00:00 2001 From: rainie <463103063@qq.com> Date: Sat, 8 Jul 2017 20:19:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20=20[document]=20edit=20readme=20?= =?UTF-8?q?document.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/hour-minute-second.png | Bin 0 -> 12028 bytes .github/year-month-day-hour-minute.png | Bin 0 -> 18399 bytes README.md | 24 +++++++++++++++++++++--- examples/basic/index.js | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 .github/hour-minute-second.png create mode 100644 .github/year-month-day-hour-minute.png diff --git a/.github/hour-minute-second.png b/.github/hour-minute-second.png new file mode 100644 index 0000000000000000000000000000000000000000..2a8e2fcb488e5b47da2b7ba084e33b7fb9adb2d0 GIT binary patch literal 12028 zcmdVAWl$Z_*X{{~Ab|vTcY+5J2yk!@9z0lZcb9`Z!2&^pyK``N_uw4d-Q92Vf2ZcH zxnHJg?%WSIRaB+AnzeRsdOhp6p537eauV;~5x#?gfq5?_Df%4-29_82p+G_auE4|~ z^1#5rzc&*RQIHZ5Ay=@sF*dU_f`R!O5uu`OO00s--{fFIMLnuy`8m+BK;S*i`&iY_ znbnQnOG}*A@lu>n%3Z_jU_xQuh16wt6BfNqk&G5 z)ALu~`YY^)=N%;RawM5GLY9q=JugyE(makEOiteJHWaDH$6&+aCYLeev9CJ>M}_b) zMh66E;2~tHDUvX17s|kK%A>f{Xs(EKdg#tiFFmK1)`^qgklT^zS8W%dghauf=Bo@j z!@A$ckO}PnAidV#t@|X{&FWsiW-#03!0#1dX1vL?J{j^>MaeuQ0X=HC=T;o`;Zwzo zZicM+LDBA3mVS!UQU=8KMDID>s>3w!!m2BOEGeBo;6zXBf$>sR@($06b_P-<#dANx_-Z#5RUW4t^xsUcdcP|3s znGqjz6XN`Fy8T1EGsT6jch;XFi{H@S5SSBgNqMvU&iu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D5z zsk?Ov(FR}f$*n~QZtraN90C&#j-%wkwAFmGMyMt*cWjCspK{R|%EvVm(h`O8^0?u- zbf03()!SuT=yo6X`=9hW=h&U!`k}D+Jca~RW8JC5p4NUWuB;@don)>Ae{+7*-!JS! zY3fwtl!>D~Pe^m5h8$}Zc;s5G~6^SVeDZcC|y5fcT3ggn*k1e zeBhw~-_2nH|IvDNzTR4n`^9 yGf;>D5is}Kz6F4Zad`L}z)?Ubg#Rhj3)#OEl?RrcCGyv=+NH$gM9YMK`uz_ImJ9j- literal 0 HcmV?d00001 diff --git a/.github/year-month-day-hour-minute.png b/.github/year-month-day-hour-minute.png new file mode 100644 index 0000000000000000000000000000000000000000..46bbd3903852c1e48a56cf31067c0a950becc590 GIT binary patch literal 18399 zcmeHubwE|$vhapONlJGpASm4-jkHKer$|e8dk6t(0SN&CL8L*tMFc@WL|Q<)CbuqNb`UNy zHIcas!VDlh=5DQZ=LdZ5=qjZS!q-4ox$0)4DG9=$FCoiYILm5+Fvthl*~(4+C!FGK zrJ)VtNkIHN`}=oPe$@S9>LLx=5&-=Q`P|A};ljQ&005!0c2&>-VUQ0*%-KQxf*zCs zVqs=}O9q5lK{(vTLFqyUkSCS4=jJ9H3g(;asW4wlNGQIVy%AhqywbEH#ZPx`A_(Kmu2M#9|sgt z6iyT#@V<$18$}dF5Jd=}LlH-jKoLW^1!9FzZvNt}3fB3l(S&cPiZko7l~bA%JdImG#b z^CjmRBpy-)X@b;2>LDKiI>=i{3#1v+4k?8+{G$I?KJ=^afeXnm{OUsP3-9`=;h(k! zJr-9AmlBsA_ZBWKE+g*kUsQCsq_|wT^0-W33FWVT`|aO!e`*feMHg)Cr+xn8wl2ns z^)F6fA0Xj?9$@{u#eeVtO;BQMzysvz4BGp`-|PV|koM1!_d_ET8Wb)Rg}->W;Dyis z>j@z3;OOOS zZE597$IZzpKqm<tC>1DyLl|HkRL0YH%p0Fd(j#xa9)C2xH74fkH+cE@1q6kJrEkf|%E>Dz z-qq05(gxKt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qs0IK literal 0 HcmV?d00001 diff --git a/README.md b/README.md index dc59e14..3dd4da0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ react-mobile-datepicker provides a component that can set year, month and day by - is only 4k. - It does not depend on moment.js -## Screenshots +## Theme + ### default
@@ -34,7 +35,23 @@ react-mobile-datepicker provides a component that can set year, month and day by ### android-dark
-
+
+ +## Custom date unit + +set dateFormat for `['YYYY', 'MM', 'DD', 'hh', 'mm']` to configure year, month, day, hour, minute. + +
+ +
+ + +set dateFormat for `['hh', 'mm', 'ss']` to configure hour, minute and second. + +
+ +
+ ## Getting Started @@ -109,7 +126,8 @@ ReactDOM.render(, document.getElementById('react-box')); | isPopup | Boolean | true | whether as popup add a overlay | | isOpen | Boolean | false | whether to open datepicker | | theme | String | default | theme of datepicker, include 'default', 'dark', 'ios', 'android', 'android-dark' | -| dateFormat | Array | ['YYYY', 'M', 'D'] | according to year, month, day format specified display text. E.g ['YYYY年', 'MM月', 'DD日']| +| dateFormat | Array | ['YYYY', 'M', 'D'] | according to year, month, day, hour, minute, second format specified display text. E.g ['YYYY年', 'MM月', 'DD日']| +|showFormat | String | 'YYYY/MM/DD' | customize the format of the display title | | value | Date | new Date() | date value | | min | Date | new Date(1970, 0, 1) | minimum date | | max | Date | new Date(2050, 0, 1) | maximum date | diff --git a/examples/basic/index.js b/examples/basic/index.js index 642d68e..6d0126f 100644 --- a/examples/basic/index.js +++ b/examples/basic/index.js @@ -62,7 +62,7 @@ window.Perf = require('react-addons-perf');