Skip to content

Commit 723c863

Browse files
committed
Fixes #106 undefined method zone
1 parent 07290e0 commit 723c863

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Rails:
2-
Enabled: true
2+
Enabled: false
33

44
AllCops:
55
TargetRubyVersion: 2.3

lib/capistrano-db-tasks/database.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def database
4141
end
4242

4343
def current_time
44-
Time.zone.now.strftime("%Y-%m-%d-%H%M%S")
44+
Time.now.strftime("%Y-%m-%d-%H%M%S")
4545
end
4646

4747
def output_file

0 commit comments

Comments
 (0)