Skip to content

Commit 855ce2c

Browse files
committed
fix: error while rebasing
1 parent e1b0569 commit 855ce2c

File tree

1 file changed

+1
-1
lines changed
  • src/agent_toolkit/forestadmin/agent_toolkit/resources/collections

1 file changed

+1
-1
lines changed

src/agent_toolkit/forestadmin/agent_toolkit/resources/collections/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class StatsResource(BaseCollectionResource, ContextVariableInjectorResourceMixin
3030

3131
FORMAT: Dict[str, Callable[[Union[date, datetime]], str]] = {
3232
"Day": lambda d: d.strftime("%d/%m/%Y"),
33-
"Week": lambda d: d.strftime("W%V-%Y"),
33+
"Week": lambda d: d.strftime("W%V-%G"),
3434
"Month": lambda d: d.strftime("%b %Y"),
3535
"Year": lambda d: d.strftime("%Y"),
3636
"Quarter": lambda d: f"{d.year}-Q{pd.Timestamp(d).quarter}",

0 commit comments

Comments
 (0)