6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/30/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#685] MDY vs DMY
*
Your Email Address
*
Spam protection
Enter the letters below:
. .__ . ,. ..___. | | \ \./ |\ | _/ |___|__/ | | \|./__.
Comment
> _calculateMoonPhases() has month and day swapped when constructing timestamp. > > > > cvs diff -u lib/Block/moon.php > > Index: lib/Block/moon.php > > =================================================================== > > RCS file: /repository/horde/lib/Block/moon.php,v > > retrieving revision 1.14 > > diff -u -r1.14 moon.php > > --- lib/Block/moon.php 1 Jun 2004 10:05:32 -0000 1.14 > > +++ lib/Block/moon.php 12 Oct 2004 07:35:29 -0000 > > @@ -162,7 +162,7 @@ > > /* Convert from JD to Calendar Date. */ > > $julian = $J + round($F); > > $parts = explode('/', $this->_jdtogregorian($julian)); > > - $stamp = gmmktime(0, 0, 0, $parts[0], $parts[1], $parts[2]); > > + $stamp = gmmktime(0, 0, 0, $parts[1], $parts[0], $parts[2]); > > > > /* half K. */ > > if (($K9 - floor($K9)) > 0) { > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers