Skip to content

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

Open
Jah-yee wants to merge 1 commit intoTEN-framework:mainfrom
Jah-yee:main
Open

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

Conversation

@Jah-yee
Copy link
Copy Markdown

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

Summary

Unified log timestamp format across all xfyun ASR extensions to use consistent format with milliseconds: %Y-%m-%d %H:%M:%S.%f

Changes

  • Fixed 3 files:
    • xfyun_asr_python/recognition.py
    • xfyun_asr_bigmodel_python/recognition.py
    • xfyun_asr_dialect_python/recognition.py

Before

datetime.now().strftime("%Y-%m-%d %H:%M:%S")  # No milliseconds

After

datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]  # With milliseconds

This resolves issue #2082.

- Consistent timestamp format %Y-%m-%d %H:%M:%S.%f (with milliseconds)
- Fixed 3 files: xfyun_asr_python, xfyun_asr_bigmodel_python, xfyun_asr_dialect_python
- Resolves issue TEN-framework#2082
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