Merge pull request #358 from sartography/chore/timestamp_wrong
Fixes #383 - Timestamp on files is UTC?
This commit is contained in:
commit
b09f5c53ff
|
@ -66,6 +66,7 @@ class Task(object):
|
|||
|
||||
# Additional properties
|
||||
FIELD_PROP_ENUM_TYPE = "enum_type"
|
||||
FIELD_PROP_BOOLEAN_TYPE = "boolean_type"
|
||||
FIELD_PROP_TEXT_AREA_ROWS = "rows"
|
||||
FIELD_PROP_TEXT_AREA_COLS = "cols"
|
||||
FIELD_PROP_TEXT_AREA_AUTO = "autosize"
|
||||
|
|
|
@ -175,7 +175,7 @@ class FileService(object):
|
|||
user_uid = None
|
||||
new_file_data_model = FileDataModel(
|
||||
data=binary_data, file_model_id=file_model.id, file_model=file_model,
|
||||
version=version, md5_hash=md5_checksum, date_created=datetime.utcnow(),
|
||||
version=version, md5_hash=md5_checksum,
|
||||
size=size, user_uid=user_uid
|
||||
)
|
||||
session.add_all([file_model, new_file_data_model])
|
||||
|
|
Loading…
Reference in New Issue