Menu

Feature Request: Add start date for the task

luke wang
2009-02-27
2013-01-16
  • luke wang

    luke wang - 2009-02-27

    In release 2.31, there are only create date and deadline for the task. I'd like to add the task in advance in case I forget the task.

    I will assign the task to the team member several days later. The create date is not the start date of the task. I'd like to set the start date for the task so I am aware how manys days the task takes.

     
    • luke wang

      luke wang - 2009-04-24

      I have a workaround to change the value of Creation time as Start date when editing the task.
      The following 3 files have been updated.

      includes/time.php
      tasks/task_edit.php
      tasks/task_submit_update.php

      ===========================================
      time.php
      copy function date_select_from_timestamp, date_select as date_select_from_timestamp0 date_select0, change the select id and name to day0, month0, year0 in function date_select0.

      ===========================================
      task_edit.php
      140,141c140
                        //"<tr><td>".$lang['creation_time']."</td><td>".nicedate($TASKID_ROW['created'] )."</td></tr>\n".
                        "<tr><td>".$lang['creation_time']."</td><td>".date_select_from_timestamp0($TASKID_ROW['created'] )."</td></tr>\n".

      ===========================================
      task_submit_update.php
      162,170d161
      < // modify created date
      < if(@safe_integer($_POST['day0']) &&  @safe_integer($_POST['month0']) && @safe_integer($_POST['year0'])) {
      <   $day0 = $_POST['day0'];
      <   $month0 = $_POST['month0'];
      <   $year0 = $_POST['year0'];
      <   $created = date_to_datetime($day0, $month0, $year0 );
      <   $created = ', created=\''.$created.'\'';
      < }
      <
      220c211
      <       owner='.$owner.$created.',
      ---
      >       owner='.$owner.',

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.