m-date-picker
m-date-picker copied to clipboard
Added a more easy-to-use mode for the user select a precise time in the most recent period.
There is no one fit in the existing mode
, when I only need to select a precise time in the most recent period.
So, I add a recenttime
option to the mode
and add a formatSingleDate
method.
Project lint has a problem, it check the file in node_modules and throw error.
I have already solved the problem of lint and add a demo of recent mode.
Like these { mode, use12Hours }
=> {mode, use12Hours}
do not change please.
Only change the smallest part you need to change.
ping @jiangleo