Ticket #1287 (closed enhancement: fixed)

Opened 2 years ago

Last modified 5 months ago

Add "Today" function into DatePicker

Reported by: guest Owned by: peller
Priority: normal Milestone: 1.1
Component: Dijit Version: 0.2
Severity: normal Keywords:
Cc:

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

Changed 2 years ago by dylan

  • owner changed from psowden to dylan
  • status changed from new to assigned
  • milestone set to 0.5

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

Changed 23 months 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...

Changed 15 months ago by peller

  • cc ktiedt@… removed
  • owner changed from dylan to ktiedt
  • status changed from assigned to new
  • component changed from Date to Widgets

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

Changed 14 months ago by peller

  • component changed from Widgets to Dijit

Changed 12 months ago by bill

  • milestone changed from 0.9 to 1.0

Changed 12 months ago by tk

  • owner changed from ktiedt to torrey

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

Changed 12 months ago by tk

  • owner changed from torrey to itorrey

Changed 11 months ago by bill

  • owner changed from itorrey to peller
  • milestone changed from 1.0 to 1.1

Changed 7 months ago by peller

  • status changed from new to closed
  • resolution set to fixed

(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

Changed 7 months ago by peller

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

Changed 5 months ago by bill

  • status changed from closed to reopened
  • resolution deleted

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.

Changed 5 months ago by peller

  • status changed from reopened to closed
  • resolution set to fixed

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

Changed 5 months ago by peller

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

Changed 5 months ago by jburke

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

Note: See TracTickets for help on using tickets.