回答編集履歴
1
修正
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
@timeline = @project.where(tasks: {start_time: params[:id]}).map do |project|
|
34
34
|
|
35
|
-
[project.nickname, intime(project), outtime(project)]
|
35
|
+
[project.nickname, intime(project), outtime(project)]
|
36
36
|
|
37
37
|
end
|
38
38
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
def intime(project)
|
48
48
|
|
49
|
-
"#{project.start_time.year}-#{project.start_time.month}-#{project.start_time.day} #{project.intime.strftime('%H:%M')}"
|
49
|
+
"#{project.start_time.year}-#{project.start_time.month}-#{project.start_time.day} #{project.intime.strftime('%H:%M')}"
|
50
50
|
|
51
51
|
end
|
52
52
|
|