mirror of https://github.com/jumpserver/jumpserver
fix: 工单时区错乱问题
parent
ea5a54f9c7
commit
de5b501ebf
|
@ -67,8 +67,6 @@ class BaseApplyAssetSerializer(serializers.Serializer):
|
||||||
error = _('The expiration date should be greater than the start date')
|
error = _('The expiration date should be greater than the start date')
|
||||||
raise serializers.ValidationError({'apply_date_expired': error})
|
raise serializers.ValidationError({'apply_date_expired': error})
|
||||||
|
|
||||||
attrs['apply_date_start'] = apply_date_start
|
|
||||||
attrs['apply_date_expired'] = apply_date_expired
|
|
||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
@atomic
|
@atomic
|
||||||
|
|
Loading…
Reference in New Issue