Giter VIP home page Giter VIP logo

Comments (4)

edenman avatar edenman commented on July 23, 2024

@RussellCollins Can you elaborate? The onInvalidDateSelected toast is using this string: Date must be between %1$s and %2$s. which should show exactly what dates are being used for the bounds.

from android-times-square.

RussellCollins avatar RussellCollins commented on July 23, 2024

I'll have to double-check but if I recall the reason why the toast wasn't
useful was that the full Date wasn't shown (i.e. "Dec 12, 2013" vs "Dec 12
2013 00:00:00"). This meant we had a message that didn't match what we
thought we were supplying as correct inputs. In our debugging we found a
convenience method essentially called 'setDateToMidnight()" in the library
which clued us in on what you were doing. This made sense once we saw it
but was subtly different than what we inferred from the Toast. Does that
make sense? It resulted in the CalendarViewPicker being initialized with
the end date being unselectable in the view based on how we were supplying
the range. We adjusted to use logic that more closely matched what was
being done by the library and everything works great (thank you!) but the
Toast felt misleading until we understood the choices you made in setting
times to zero to fully encompass the totality of the date range.

On Sun, Jan 5, 2014 at 9:50 PM, edenman [email protected] wrote:

@RussellCollins https://github.com/RussellCollins Can you elaborate?
The onInvalidDateSelected toast is using this string: Date must be
between %1$s and %2$s. which should show exactly what dates are being
used for the bounds.


Reply to this email directly or view it on GitHubhttps://github.com//issues/87#issuecomment-31628958
.

from android-times-square.

edenman avatar edenman commented on July 23, 2024

Gotcha. I'm going to leave this closed: I think the comment on the init method makes it clear how the minDate and maxDate work. Sorry it bit you and thanks for using the library!

from android-times-square.

RussellCollins avatar RussellCollins commented on July 23, 2024

Works for me. I'll just keep this in my back pocket in case it comes up for
anyone else.
On Jan 10, 2014 11:16 AM, "edenman" [email protected] wrote:

Gotcha. I'm going to leave this closed: I think the comment on the init
method makes it clear how the minDate and maxDate work. Sorry it bit you
and thanks for using the library!


Reply to this email directly or view it on GitHubhttps://github.com//issues/87#issuecomment-32056196
.

from android-times-square.

Related Issues (20)

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.