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

Greeting always prints out the same time #2

Open
martinchooooooo opened this issue Dec 8, 2022 · 0 comments
Open

Greeting always prints out the same time #2

martinchooooooo opened this issue Dec 8, 2022 · 0 comments
Assignees

Comments

@martinchooooooo
Copy link
Collaborator

Steps to reproduce

➜  ~ date
Fri  9 Dec 2022 10:37:45 AEDT
➜  ~ go run github.com/feggla/testing@latest tincho
Hey, tincho. The time is 3:04PM and it is daytime.%

Expected: The command should print out my current time of 10:37

Actual: It's always printing out 3:04

Hint: Look at the docs for time.Kitchen here. Its defined as a constant, which means it'll always give you the same result when you use it. Perhaps there is another API you can use?

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

No branches or pull requests

2 participants