Opened 10 years ago

Closed 5 years ago

Last modified 5 years ago

#5427 closed feature (wontfix)

Modify "today" Date

Reported by: RiPr Owned by: RiPr
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.8
Keywords: today, system time Cc:
Blocked by: Blocking:

Description

There is no "easy" way to modify the "today" date. Please include this function in one of the next updates! In some cases the user has an old/wrong system date. So you can repair the (default, current min- and max)date by server time, but there is no way to repair the today date.

See also: http://stackoverflow.com/questions/2516199/jquery-datepicker-change-today-date

Change History (10)

comment:1 Changed 9 years ago by kbwood

See also #5495.

comment:2 Changed 8 years ago by Jörn Zaefferer

Status: newopen

See also #5151

comment:3 Changed 7 years ago by Scott González

Milestone: TBD1.11.0

comment:4 Changed 7 years ago by Scott González

#7481 is a duplicate of this ticket.

comment:5 Changed 5 years ago by Scott González

Milestone: 1.11.0none

comment:6 Changed 5 years ago by Scott González

Owner: set to RiPr
Status: openpending

In what scenario does a user have to pick a date and it's clear that "today" isn't the current day for them?

comment:7 Changed 5 years ago by tj.vantoll

In any case, the rewrite will not ship any Today button, so this issue will no longer be relevant. We will have a buttons API you can use to build your own Today button with whatever behavior you desire.

comment:8 Changed 5 years ago by Scott González

Resolution: wontfix
Status: pendingclosed

In that case, I'll just close this.

comment:9 Changed 5 years ago by usmonster

the rewrite will not ship any Today button, so this issue will no longer be relevant.

Just wanted to verify--the rewritten datepicker will not have any default indication of "Today" when displaying this month? I'm not sure a today button was mentioned in the original ticket, but I just wanted to be sure we're talking about the same thing.

If we're talking about different things, then this may need to be reopened. (My use case: I want to display a datepicker based in an arbitrary time zone, possibly not the same as that of the user's system, so I just want some way to allow the datepicker to use an adjusted date as its internal "today", e.g. a timezoneOffset option.)

comment:10 Changed 5 years ago by Scott González

There will still be a visual indication of the current day. However, in the past four and half years that this ticket has been open, you seem to be the first to actually request this feature for a sane reason. Note that nobody else chimed in on this ticket and the Stack Overflow question has barely gotten any attention. We'd need much more interest from the community before adding an option.

Note: See TracTickets for help on using tickets.