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

Time used in FastLogFormat? #14

Open
pavhofman opened this issue Aug 30, 2022 · 1 comment
Open

Time used in FastLogFormat? #14

pavhofman opened this issue Aug 30, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@pavhofman
Copy link

Hi,

Please is this line correct

let now = fastdate::DateTime::now();
? Should perhaps arg.now be used instead of the current time?

Thanks a lot,

Pavel.

@zhuxiujia
Copy link
Member

zhuxiujia commented Oct 28, 2022

yes,you can use

fastdate::DateTime::now();

or

fastdate::DateTime::utc();

@zhuxiujia zhuxiujia added the help wanted Extra attention is needed label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants