Skip to content

fix: unify log timestamp format in xfyun ASR extensions#2082

Open
Jah-yee wants to merge 1 commit intoTEN-framework:mainfrom
Jah-yee:fix/log-timestamp-format
Open

fix: unify log timestamp format in xfyun ASR extensions#2082
Jah-yee wants to merge 1 commit intoTEN-framework:mainfrom
Jah-yee:fix/log-timestamp-format

Conversation

@Jah-yee
Copy link

@Jah-yee Jah-yee commented Mar 3, 2026

Summary

Fixed inconsistent timestamp format in three xfyun ASR extensions to address issue #302: log format not consistent.

Changes

  • xfyun_asr_bigmodel_python/recognition.py
  • xfyun_asr_dialect_python/recognition.py
  • xfyun_asr_python/recognition.py

Changed from %Y-%m-%d %H:%M:%S (without milliseconds) to %Y-%m-%d %H:%M:%S.%f with milliseconds to match the format used in other log statements in these files.

All log timestamps now consistently use the format YYYY-MM-DD HH:MM:SS.mmm (ISO 8601 with milliseconds).

Fixed inconsistent timestamp format in three xfyun ASR extensions:
- xfyun_asr_bigmodel_python/recognition.py
- xfyun_asr_dialect_python/recognition.py
- xfyun_asr_python/recognition.py

Changed from '%Y-%m-%d %H:%M:%S' (without milliseconds) to
'%Y-%m-%d %H:%M:%S.%f'[:-3] (with milliseconds) to match the
format used in other log statements in these files.

This addresses issue TEN-framework#302: log format not consistent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant