Summary | MDY vs DMY |
Queue | Horde Base |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | ctnpublic-horde (at) yahoo (dot) com |
Created | 10/12/2004 (7595 days ago) |
Due | |
Updated | 10/12/2004 (7595 days ago) |
Assigned | 10/12/2004 (7595 days ago) |
Resolved | 10/12/2004 (7595 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
function whereas the calendar module's jdtogregorian is supposed to
return month/day/year. So I just fixed our function to do so as well.
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ MDY vs DMY
Queue ⇒ Horde Base
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) {