1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Merge patches and rename (for missing Git repository fixes) (#35)

Merge patches and rename (for missing Git repository fixes)
This commit is contained in:
JimboJoe 2019-07-27 18:27:05 +02:00 committed by GitHub
commit b1e3be89b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,3 +10,13 @@ index 2b53a91eb3..eec55647d5 100644
+ self.try_git(git_cmd, Discourse::VERSION::STRING)
end
end
@@ -448,7 +448,7 @@ module Discourse
$last_commit_date ||=
begin
git_cmd = 'git log -1 --format="%ct"'
- seconds = self.try_git(git_cmd, nil)
+ seconds = '1563199245' # Note(decentral1se): Output from actual command in the v2.3.2 branch
seconds.nil? ? nil : DateTime.strptime(seconds, '%s')
end
end