Menu

#125 Week not visible

OPT_1.X_(Max)
closed-fixed
Timesheets (2)
5
2005-01-25
2005-01-03
No

Hi folks,
it is not possible to see in the timesheet the actual
week 01.01.2005 - 09.01.2005. The week from 2005
begins at the 10.01.2005. Why that. It is possibel to
add tasks or requests for that day's, but not in the
timesheet.

Any idea?

Clemens Walch

Discussion

  • Martin Vernooij

    Martin Vernooij - 2005-01-03
    • assigned_to: guy_davis --> martinfst
     
  • Martin Vernooij

    Martin Vernooij - 2005-01-03

    Logged In: YES
    user_id=608879

    I can confirm this is a bug :-(, but .... the good news is
    that any data entered (as hour registration) is recorded in
    the database and is retrievable, as soon as I've fixed this.

    I was able to reproduce this on my demo site
    http://opt.tiempo.nl, although I have another week missing
    (dates missing are December and not January (Dec 27 - Jan 2)
    as you reported).

    The report that does include all hours is the spreadsheet
    summary, all other reports fail to display the correct info.

    Martin

     
  • Martin Vernooij

    Martin Vernooij - 2005-01-03

    Logged In: YES
    user_id=608879

    Fixed this in the CVS. You only need to get version 1.7 of
    the following file:
    <installdir>/opt/calendar/timesheets/index.php.
    As this bug is only for years with 53 weeks (which 2004 is)
    I suggest people needing to enter timesheets for week 53 to
    extract the above file from the CVS and replace the one on
    running environments.
    The "official" 1.2.6 version will at least take a couple of
    weeks before I can get that one released.

    Martin

     
  • Martin Vernooij

    Martin Vernooij - 2005-01-03
    • status: open --> closed
     
  • Martin Vernooij

    Martin Vernooij - 2005-01-04

    Logged In: YES
    user_id=608879

    There are two other files that suffered from this same bug.
    I just checked them in CVS.
    <installdir>/opt/calendar/timesheets/reports/detailed_weekly.php
    and
    <installdir>/opt/calendar/timesheets/leftMenu/index.php

    Martin

     
  • clemens walch

    clemens walch - 2005-01-25
    • status: closed --> open
     
  • clemens walch

    clemens walch - 2005-01-25

    Logged In: YES
    user_id=677499

    Hi Martin,
    many thangs for your very fast reply, but after updating the
    3 files we don't have any changes. Our first week is not
    visible.

    Any idea?

    clemens

     
  • Martin Vernooij

    Martin Vernooij - 2005-01-25

    Logged In: YES
    user_id=608879

    Hi Clemens,

    this is already fixed in the CVS and of course for the soon
    to be released 1.2.6 version. I hope to find the time to
    release the update today or tomorrow.

    Tasks added for those day are not lost. The bug is due to
    the fact that 2004 has 53 weeks and not 52 like most years.

    Martin

     
  • Martin Vernooij

    Martin Vernooij - 2005-01-25
    • status: open --> open-fixed
     
  • Martin Vernooij

    Martin Vernooij - 2005-01-25
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB