回答編集履歴

1

誤り訂正

2017/09/06 08:05

投稿

otn
otn

スコア84555

test CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  ```Ruby
4
4
 
5
- open(File.expand_path("~/.lasttime"),"w"){|f| f.write DateTime.now.strftime("%F %T") }
5
+ open(File.expand_path("~/.lasttime"),"w"){|f| f.write DateTime.now.strftime("%F %T %Z") }
6
6
 
7
7
  ```
8
+
9
+ (↑当初、タイムゾーンが抜けていたので、追加しました)
8
10
 
9
11
  して、処理Bでは、
10
12