Git Product home page Git Product logo

Comments (6)

luobojiangzi avatar luobojiangzi commented on July 17, 2024

设置最大最小时期,但是最小日期没效果,时间选择器能选择到1970-01-01, BAKit_DatePicker 这个类 941行设置最小日期的判断是不是有误啊

from bapickview.

1137155216 avatar 1137155216 commented on July 17, 2024

设置最大最小时期,但是最小日期没效果,时间选择器能选择到1970-01-01,BAKit_DatePicker这个类941行设置最小日期的判断是不是有误啊

在么方便提供下你 vc 中关于 BAPickerView 的代码么?

from bapickview.

1137155216 avatar 1137155216 commented on July 17, 2024

@luobojiangzi 在么?方便提供下你vc中关于BAPickerView的代码么?

from bapickview.

dabu5566 avatar dabu5566 commented on July 17, 2024

从demo里修改最小时间后没效果,是不是判断错了

  • (void)setBa_minDate:(NSDate *)ba_minDate {
    _ba_minDate = ba_minDate;
    if (self.maxDate) {
    if ([self.minDate ba_dateTimeIntervalSince1970InMilliSecond] <= [_ba_minDate ba_dateTimeIntervalSince1970InMilliSecond]) {
    NSLog(@"请检查最大最小日期,最大时间必须大于最小时间");
    return;
    }
    }

from bapickview.

boai avatar boai commented on July 17, 2024

从demo里修改最小时间后没效果,是不是判断错了

  • (void)setBa_minDate:(NSDate *)ba_minDate {
    _ba_minDate = ba_minDate;
    if (self.maxDate) {
    if ([self.minDate ba_dateTimeIntervalSince1970InMilliSecond] <= [_ba_minDate ba_dateTimeIntervalSince1970InMilliSecond]) {
    NSLog(@"请检查最大最小日期,最大时间必须大于最小时间");
    return;
    }
    }

此处demo数据比较老旧,自己更新下数据就好了,最新demo已经按照最新日期修复!大家可以参考下新demo!

from bapickview.

boai avatar boai commented on July 17, 2024

新版本 V 1.2.1 已解决!请及时更新

from bapickview.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.