bugphpGroupWare - Bugs: bug #9779, javascript calendar input2date...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9779: javascript calendar input2date function

Submitted by:  Philipp Kamps <fipsfuchs>
Submitted on:  Tue 27 Jul 2004 07:37:10 AM UTC  
 
Item Group: 0.9.16.001Category: API - phpGroupware API
Severity: 1 - WishPriority: 5 - Normal
Status: InvalidPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: NonePlanned Release: 0.9.16.001+
Fixed Release: 

Tue 27 Jul 2004 07:46:20 AM UTC, comment #1:

It is set to use 12 not 0 to stop problems with daylight savings. mktime is daylight savings aware.

The version of jscal in head (and the nlkh branch) has support for time select also. You might want to look at using that. The php code doesn't current support it tho.

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Tue 27 Jul 2004 07:37:10 AM UTC, original submission:

this method returns:

$ret[$raw] = mktime(12,0,0,$date['m'],$date['d'],$date['Y']);

may I change this to:

$ret[$raw] = mktime(0,0,0,$date['m'],$date['d'],$date['Y']);

?

I develop some features for projects in combination with this class.

Philipp Kamps <fipsfuchs>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 27 Jul 2004 07:46:20 AM UTCskwashdStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1