You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing klog report --aggregate week or klog total --last-week, it follows the ISO8601 definition of the week start:
The first day of the week is Monday
The first week of the year is the week that contains the first Thursday of the year
There are different practices than ISO, however:
The first day of the week can also be Sunday (American)
The week number always starts at 1st January, even is that would be only half a week then.
Without the ability to persist configuration, the easiest is probably to let users set an environment variable, like KLOG_WEEK_NUMBERING, with values like ISO8601 (default), american (?) etc.
The text was updated successfully, but these errors were encountered:
When doing
klog report --aggregate week
orklog total --last-week
, it follows the ISO8601 definition of the week start:There are different practices than ISO, however:
Without the ability to persist configuration, the easiest is probably to let users set an environment variable, like
KLOG_WEEK_NUMBERING
, with values likeISO8601
(default),american
(?) etc.The text was updated successfully, but these errors were encountered: