-
Notifications
You must be signed in to change notification settings - Fork 184
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
unixFmt('ww') wrong / Calender Week of Year #303
Comments
hey thanks Nico, apologies for the delay. if you run this in the cli: I think it's probably just a off-by-one confusion, can you confirm? |
Hey there :) https://man7.org/linux/man-pages/man1/date.1.html
trying this in WSL gives me: Spacetime tells me on the same machine its week: 34, so far so good. However, if I set the machines date to tomorrow (Monday), date tells me still week 34, but spacetime tells me its week 35, So I started adding a I guess its an ugly error to search for, and I should not bandaid in that way, but I needed some solution fast :) Cheers, Nico |
oh right - good observation. If I remember, we define weeks as starting on monday, and the first week is one with a thursday in it. I can look into how the unix command defines it, and write some documentation. |
Yeah, but it seems to be still one week ahead of the real one and I have to decrement 1 as written above. |
Dear all,
is giving me 33, while it is Calender Week 32...
Any ideas?
The text was updated successfully, but these errors were encountered: