question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'up to now' feature in DatePicker/MonthPicker/TimerPicker

See original GitHub issue

What problem does this feature solve?

‘up to now’ doesn’t mean today. eg: I want users to choose the period of their career experience, if they are still on the job in current company, the period should end with ‘up to now’ not ‘today’

What does the proposed API look like?

showUpToNow just like showToday, and the value can be empty string or something special, and in the input area should show ‘up to now’ instead of a specific time

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
L-x-Ccommented, May 23, 2017

Indeed it’s a little tricky here, maybe I will do as LinkedIn did.

linkedin

1reaction
afc163commented, May 22, 2017

I think it could be resolved with #6122

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery UI DatePicker to show month year only - Stack Overflow
I'm trying to use this solution, but using getDate on a datepicker returns only today. What's up? – supertopi. Jan 30, 2012 at...
Read more >
Datepicker - jQuery UI
The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an...
Read more >
Date Range Picker — JavaScript Date & Time Picker Library
Produces: You can customize Date Range Picker with options, and get notified when the user chooses new dates by providing a callback function....
Read more >
Date pickers – Material Design 3
Date pickers can display past, present, or future dates relevant to a task; Clearly indicate important dates, such as current and selected days ......
Read more >
Options — bootstrap-datepicker documentation - Read the Docs
All options that take a “Date” can handle a Date object; a String formatted according to the given format ; or a timedelta...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found