HTML-Tag

 view release on metacpan or  search on metacpan

extras/datetime_js/jscalendar/ChangeLog  view on Meta::CPAN


	* release-notes.html: updated release notes

	* dayinfo.html: *** empty log message ***

	* calendar-setup.js:
	bugfix--update an inputField even if flat calendar is selected

	* calendar.js:
	fixed bugs in parseDate function (if for some reason the input string is
	totally broken, then check numbers for NaN and use values from the current
	date instead)

	* make-release.pl: copy the skins subdirectory and all skins

	* index.html: added Aqua skin

	* skins/aqua/active-bg.gif, skins/aqua/dark-bg.gif, skins/aqua/hover-bg.gif, skins/aqua/menuarrow.gif, skins/aqua/normal-bg.gif, skins/aqua/rowhover-bg.gif, skins/aqua/status-bg.gif, skins/aqua/theme.css, skins/aqua/title-bg.gif, skins/aqua/today-bg...
	in the future, skins will go to this directory, each in a separate subdir; for now there's only Aqua, an excellent new skin

	* calendar.js: workaround IE bug, needed in the Aqua theme

extras/datetime_js/jscalendar/ChangeLog  view on Meta::CPAN


	* calendar-setup.js: added "position" option

	* simple-1.html: demonstrates "step" option

	* calendar-setup.js: added "step" option

	* calendar.js: added yearStep config parameter

	* calendar.js:
	fixed parseDate routine (the NaN bug which occurred when there was a space
	after the date and no time)

2004-01-14  Mihai Bazon  <mihai_bazon@yahoo.com>

	* lang/calendar-en.js: added "Time:"

	* test-position.html: test for the new position algorithm

	* index.html: do not destroy() the calendar
	avoid bug in parseDate (%p must be separated by non-word characters)

extras/datetime_js/jscalendar/calendar.js  view on Meta::CPAN

				hr += 12;
			else if (/am/i.test(a[i]) && hr >= 12)
				hr -= 12;
			break;

		    case "%M":
			min = parseInt(a[i], 10);
			break;
		}
	}
	if (isNaN(y)) y = today.getFullYear();
	if (isNaN(m)) m = today.getMonth();
	if (isNaN(d)) d = today.getDate();
	if (isNaN(hr)) hr = today.getHours();
	if (isNaN(min)) min = today.getMinutes();
	if (y != 0 && m != -1 && d != 0)
		return new Date(y, m, d, hr, min, 0);
	y = 0; m = -1; d = 0;
	for (i = 0; i < a.length; ++i) {
		if (a[i].search(/[a-zA-Z]+/) != -1) {
			var t = -1;
			for (j = 0; j < 12; ++j) {
				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; }
			}
			if (t != -1) {

extras/datetime_js/jscalendar/calendar_stripped.js  view on Meta::CPAN

 * The DHTML Calendar, version 1.0 "It is happening again"
 *
 * Details and latest version at:
 * www.dynarch.com/projects/calendar
 *
 * This script is developed by Dynarch.com.  Visit us at www.dynarch.com.
 *
 * This script is distributed under the GNU Lesser General Public License.
 * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html
 */
 Calendar=function(firstDayOfWeek,dateStr,onSelected,onClose){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=onSelected||null;this.onClose=onClose||...



( run in 0.856 second using v1.01-cache-2.11-cpan-39bf76dae61 )