File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ v0.3.11] - 2024-11-01
9+ ### Fixed
10+ - Deprecation warning for ` datetime.utcnow() `
11+
812## [ v0.3.10] - 2024-10-16
913### Security
1014- Bump certifi minimum version to 2024.07.04
Original file line number Diff line number Diff line change 1- __version__ = 'v0.3.10 '
1+ __version__ = 'v0.3.11 '
Original file line number Diff line number Diff line change 1212
1313def format_utc_time () -> str :
1414 "Get the current UTC time, formatted for a security timestamp"
15- now = datetime .datetime .utcnow ( )
15+ now = datetime .datetime .now ( datetime . timezone . utc )
1616 return now .strftime ("%Y%m%d-%H%M" )
1717
1818
You can’t perform that action at this time.
0 commit comments