Results 1 to 1 of 1

Thread: custom date field backdated after saving

  1. #1
    stephanw is offline Senior Member
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    22

    Default custom date field backdated after saving

    hello,
    I created a custom field as "date" field. Evertime I am saving the entry, that date field is backdated by one day.

    what did i do wrongly?

    that is the field in the database:
    `y_end_date_c` date DEFAULT NULL,


    sugar 6.0.2
    IIS, MYSQL

    thanks in advance
    Stephan Welker

    PS: i think i ve an clue:

    my server is located in germany in the german timezone currently GMT +2 (daylight saving).

    i could think, that for a date field sugar is trying to convert the date e.g. 13-oct-2010 00:00 which is translated into UTC time --> 12-oct-2010 22:00 (but the 22:00 is not saved)

    if you place a date/time field and you save the vale 12-oct-2010 00:00 sugar is showing this as 12-oct-2010 02:00 on the screen.
    so i think i found a bug.

    confirmed in bugtracker: 38968
    Last edited by stephanw; 2010-10-12 at 08:24 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Logic Hook + Passing Date to Custom Date Field
    By chrislynch8 in forum Developer Help
    Replies: 12
    Last Post: 2009-07-22, 03:58 PM
  2. Custom field not saving
    By jloffredo in forum Developer Help
    Replies: 1
    Last Post: 2008-08-30, 10:40 PM
  3. Custom Date Fields Not Saving Correctly
    By 1kether1 in forum Help
    Replies: 6
    Last Post: 2008-06-02, 11:29 AM
  4. FIX: custom date fields not saving
    By Scott_Savage in forum Developer Help
    Replies: 1
    Last Post: 2008-02-06, 07:30 PM
  5. Custom Field data not saving
    By erick.wolfe in forum Help
    Replies: 0
    Last Post: 2006-09-21, 07:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •