Skip to main content

Search and Top Navigation

#5427 closed feature (wontfix)

Opened March 25, 2010 03:48PM UTC

Closed July 14, 2014 07:34PM UTC

Last modified December 02, 2014 03:47PM UTC

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

Attachments (0)
Change History (10)

Changed April 28, 2010 05:48AM UTC by kbwood comment:1

See also #5495.

Changed February 27, 2012 03:26PM UTC by jzaefferer comment:2

status: newopen

See also #5151

Changed October 11, 2012 09:04PM UTC by scottgonzalez comment:3

milestone: TBD1.11.0

Changed February 05, 2013 08:59PM UTC by scottgonzalez comment:4

#7481 is a duplicate of this ticket.

Changed June 24, 2014 11:10PM UTC by scottgonzalez comment:5

milestone: 1.11.0none

Changed July 14, 2014 06:15PM UTC by scottgonzalez comment:6

owner: → 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?

Changed July 14, 2014 07:30PM UTC by tj.vantoll comment:7

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.

Changed July 14, 2014 07:34PM UTC by scottgonzalez comment:8

resolution: → wontfix
status: pendingclosed

In that case, I'll just close this.

Changed November 19, 2014 05:58PM UTC by usmonster comment:9

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.)

Changed December 02, 2014 03:47PM UTC by scottgonzalez comment:10

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.