Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[log][v2] How to convert log time to local time? #1926

Open
ayangweb opened this issue Oct 13, 2024 · 0 comments
Open

[log][v2] How to convert log time to local time? #1926

ayangweb opened this issue Oct 13, 2024 · 0 comments
Labels
plugin: log question Further information is requested

Comments

@ayangweb
Copy link

ayangweb commented Oct 13, 2024

Currently using UseLocal is not local time? How do I convert them correctly?

...
.plugin(
    tauri_plugin_log::Builder::new()
        .timezone_strategy(TimezoneStrategy::UseLocal)
        .build(),
)

Log time:
iShot_2024-10-13_20 12 38

Local time:
iShot_2024-10-13_20 12 08

@FabianLars FabianLars added question Further information is requested plugin: log labels Oct 13, 2024
@ayangweb ayangweb changed the title [feat][log][v2] How to convert log time to local time? [log][v2] How to convert log time to local time? Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: log question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants