6.0.0-beta1
7/6/25

[#11549] Wrong formatting for date fields
Summary Wrong formatting for date fields
Queue Nag
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 10/18/2012 (4644 days ago)
Due
Updated 10/27/2012 (4635 days ago)
Assigned
Resolved 10/18/2012 (4644 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/27/2012 12:58:19 AM Git Commit Comment #11 Reply to this comment
Changes have been made in Git (develop):

commit 4cd02435e6c6ae2f7096b64515baa4ca9004b0f5
Author: Jan Schneider <jan@horde.org>
Date:   Thu Oct 18 12:58:36 2012 +0200

     Revert "Bug: 11537 Output a formatted datetime when converting toHash."

     This reverts commit 7a58d380086552bc6bae786299a2050c599d02f6.

     This commit broke editing of tasks (Bug #11549).

  nag/lib/Task.php |   14 ++++----------
  1 files changed, 4 insertions(+), 10 deletions(-)

http://git.horde.org/horde-git/-/commit/4cd02435e6c6ae2f7096b64515baa4ca9004b0f5
10/18/2012 01:43:42 PM Thomas Jarosch Comment #10 Reply to this comment
Works again.

10/18/2012 10:59:57 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
10/18/2012 10:59:52 AM Git Commit Comment #9 Reply to this comment
Changes have been made in Git (master):

commit 4cd02435e6c6ae2f7096b64515baa4ca9004b0f5
Author: Jan Schneider <jan@horde.org>
Date:   Thu Oct 18 12:58:36 2012 +0200

     Revert "Bug: 11537 Output a formatted datetime when converting toHash."

     This reverts commit 7a58d380086552bc6bae786299a2050c599d02f6.

     This commit broke editing of tasks (Bug #11549).

  nag/lib/Task.php |   14 ++++----------
  1 files changed, 4 insertions(+), 10 deletions(-)

http://git.horde.org/horde-git/-/commit/4cd02435e6c6ae2f7096b64515baa4ca9004b0f5
10/18/2012 10:51:12 AM Thomas Jarosch Comment #8 Reply to this comment
What about the "01/01/1970" part I reported? That's clearly a bug.
I don't see this
Here's what I do:

- Use the "English (American)" locale + Kolab backend
- Create a new task
- Enable the due date, keep the default date (tomorrow)
- The task list correctly shows the right due date

- Open the task in edit mode
Now the due date jumps to "01/01/1970".

10/18/2012 10:37:40 AM Jan Schneider Comment #7 Reply to this comment
What about the "01/01/1970" part I reported? That's clearly a bug.
I don't see this
10/18/2012 10:23:43 AM Thomas Jarosch Comment #6 Reply to this comment
It doesn't have anything to do with your *personal* preferred 
format. It's the *locale's* preferred format.
Alright, got it.

What about the "01/01/1970" part I reported? That's clearly a bug.

10/18/2012 10:02:35 AM Jan Schneider Comment #5
State ⇒ Not A Bug
Reply to this comment
It doesn't have anything to do with your *personal* preferred format. 
It's the *locale's* preferred format.
10/18/2012 09:45:51 AM Thomas Jarosch Comment #4
State ⇒ Unconfirmed
Reply to this comment
Please take a look at the screenshot I've added to this ticket.
There's no American date format configured there.

10/18/2012 08:49:42 AM Jan Schneider Comment #3
State ⇒ Not A Bug
Reply to this comment
It's using the default date representation of your locale.
10/18/2012 07:59:34 AM Thomas Jarosch Comment #2
New Attachment: horde_datetime_settings.png Download
Reply to this comment
Screenshot of the date and time preferences.

10/18/2012 07:58:31 AM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Nag
Summary ⇒ Wrong formatting for date fields
Type ⇒ Bug
Reply to this comment
Hi,

First issue: When I create a new task in nag, the date format for "due 
by" and "Delay Start Until" is American even though I configured horde 
for something else.

Value upon new task creation: "10/19/2012".
Attached is a screenshot of my datetime settings.

Second issue: The set "due" date is displayed correctly in the task list.
When I open the task for editing again, it's set to "01/01/1970".

Cheers,
Thomas

Saved Queries