Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#1287 closed enhancement (fixed)

Add "Today" function into DatePicker

Reported by: guest Owned by: Adam Peller
Priority: high Milestone: 1.1
Component: Dijit Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

A small "today" shortcut which picker today's date will be just perfect.

Also, can the date of today be highlighted with bright background color?

Change History (14)

comment:1 Changed 13 years ago by dylan

Milestone: 0.5
Owner: changed from psowden to dylan
Status: newassigned

the latter is just a matter of overriding a css property. The former will be added to my 0.5 bug list.

comment:2 Changed 13 years ago by ktiedt@…

Cc: ktiedt@… added

Hmmm if you have any suggestion on where to put a "today" link in the datePicker I'd be happy to add it before the rewrite gets committed... Right now i dont see a place in the current UI (unless we make it more complex and add a popup/self hiding "control panel" of sorts to it...

comment:3 Changed 13 years ago by Adam Peller

Cc: ktiedt@… removed
Component: DateWidgets
Owner: changed from dylan to Karl Tiedt
Status: assignednew

This was discussed at 3DNY. Need direction from Torrey.

comment:4 Changed 13 years ago by Adam Peller

Component: WidgetsDijit

comment:5 Changed 12 years ago by bill

Milestone: 0.91.0

comment:6 Changed 12 years ago by tk

Owner: changed from Karl Tiedt to torrey

Going to assign to Torrey and maybe get his input on this...

comment:7 Changed 12 years ago by tk

Owner: changed from torrey to itorrey

comment:8 Changed 12 years ago by bill

Milestone: 1.01.1
Owner: changed from itorrey to Adam Peller

comment:9 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [11784]) Implemented "today" button, but you need a special template to get it. Put in an example of flexible calendar layouts and documented "templatePath". Fixes #1287

comment:10 Changed 12 years ago by Adam Peller

(In [11785]) Forgot custom test template. Incorporate bill's suggestion to establish "goToToday" method and wire up in template. Fixes #1287

comment:11 Changed 12 years ago by bill

Resolution: fixed
Status: closedreopened

I don't see the today button showing up in the latest code. Strangely also, in the nightly or the 1.1 beta2 release doesn't seem to be working at all; get's an error on page load. Tested on FF3/mac.

comment:12 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: reopenedclosed

(In [12774]) Use declare to create custom calendar instead of templatePath in markup. Fixes #1287, Refs #6030

comment:13 Changed 12 years ago by Adam Peller

(In [12775]) Unnecessary to define templateString in example. Refs #1287

comment:14 Changed 12 years ago by James Burke

(In [12832]) Refs #1287: make sure the BigCalendar? example works in the xdomain case.

Note: See TracTickets for help on using tickets.