mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-26 07:51:31 +00:00
Automatically detect timezone offset when --time-offset is not provided #124
This commit is contained in:
@@ -23,6 +23,7 @@ except ImportError:
|
||||
|
||||
MAX_SIZE = 4 * 1024 * 1024 # Default 4MB
|
||||
ROW_SIZE = 0x3D0
|
||||
CURRENT_TZ_OFFSET = datetime.now().astimezone().utcoffset().seconds / 3600
|
||||
|
||||
|
||||
def convert_time_unit(time_second: int):
|
||||
|
||||
Reference in New Issue
Block a user