Comments (4)
@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.
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.
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.
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)
- CalendarCellDecorator, onDecorate is modifying cells from different months HOT 2
- Error HOT 1
- How to change first day of week start from Monday HOT 1
- Using espresso to test this component HOT 1
- Android 10 (API 28) - ScrollToDate(Date) & ScrollTo(0, position): don't work HOT 1
- title gravity Left HOT 1
- Title capitalize
- This library crashes the app when running in pseudolocale HOT 2
- Date and day name of week not correct HOT 2
- mini help me whats i non send
- help HOT 1
- Helping
- Support custom attributes for color selector "tsquare_dayTextColor non supported HOT 1
- Support attributes for color selector "tsquare_dayTextColor" HOT 1
- How to add multiple selection date range and edit back (suggestion radio button)
- how to select previous date
- Abstract Compose View in CalendarCellView is causing jerk HOT 1
- NullPointerException when using highlightDates
- Cell color HOT 2
- 1.7.11 version not found in sonatype HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-times-square.