--- example: created_on: 2007-03-23 12:54:18 +01:00 tweek: <%= Date.today.cweek %> tmonth: <%= Date.today.month %> project_id: 1 comments: My hours updated_on: 2007-03-23 12:54:18 +01:00 activity_id: 9 spent_on: <%= Date.today %> issue_id: 1 id: 1 hours: 1.0 user_id: 1 tyear: <%= Date.today.year %> rate_id: 4 costs: 0.0 default_example: created_on: 2007-03-23 12:54:19 +01:00 tweek: <%= Date.today.cweek %> tmonth: <%= Date.today.month %> project_id: 2 comments: My hours updated_on: 2007-03-23 12:54:19 +01:00 activity_id: 9 spent_on: <%= Date.today %> issue_id: 1 id: 2 hours: 1.0 user_id: 2 tyear: <%= Date.today.year %> rate_id: 7 costs: 0.0 example2: created_on: 2008-03-23 12:54:28 +01:00 tweek: <%= Date.today.cweek %> tmonth: <%= Date.today.month %> project_id: 1 comments: My hours updated_on: 2007-03-23 12:54:29 +01:00 activity_id: 9 spent_on: <%= Date.today %> issue_id: 1 id: 3 hours: 2.0 user_id: 1 tyear: <%= Date.today.year %> rate_id: 4 costs: 4.2 example3: created_on: <%= Date.yesterday.to_time.strftime("%Y-%m-%d %H:%M") %> tweek: <%= Date.today.cweek %> tmonth: <%= Date.today.month %> project_id: 1 comments: My hours updated_on: <%= Time.now.strftime("%Y-%m-%d %H:%M") %> activity_id: 9 spent_on: <%= Date.today %> issue_id: 1 id: 4 hours: 1.0 user_id: 1 tyear: <%= Date.today.year %> rate_id: 4 costs: 0.2