1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

date the archives

This commit is contained in:
Sylvain 2019-03-11 16:25:51 +01:00
parent b940ae0327
commit 2a32bc4752
2 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,8 @@ class AccountingPeriod < ActiveRecord::Base
code_checksum: code_checksum,
last_archive_checksum: last_archive_checksum,
previous_file: previous_file,
software_version: Version.current
software_version: Version.current,
date: Time.now.iso8601
},
formats: [:json],
handlers: [:jbuilder]

View File

@ -67,3 +67,4 @@ json.previous_archive do
end
json.period_footprint period_footprint
json.archive_date date