We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e02c3ed commit 3041c62Copy full SHA for 3041c62
1 file changed
mod_health/controllers.py
@@ -99,7 +99,7 @@ def liveness_check() -> Tuple[Any, int]:
99
"""
100
return jsonify({
101
'status': 'alive',
102
- 'timestamp': datetime.now(timezone.utc).replace(tzinfo=None).isoformat() + 'Z'
+ 'timestamp': datetime.now(timezone.utc).isoformat()
103
}), 200
104
105
@@ -172,7 +172,7 @@ def version_check() -> Tuple[Any, int]:
172
git_info = get_git_info()
173
174
response = {
175
- 'timestamp': datetime.now(timezone.utc).replace(tzinfo=None).isoformat() + 'Z',
+ 'timestamp': datetime.now(timezone.utc).isoformat(),
176
'git': git_info,
177
}
178
0 commit comments