Skip to content

Commit 4058bb5

Browse files
committed
fix: datetime formatting breaks on windows
1 parent 1f03f90 commit 4058bb5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "scrapybara"
33

44
[tool.poetry]
55
name = "scrapybara"
6-
version = "2.3.3"
6+
version = "2.3.4"
77
description = ""
88
readme = "README.md"
99
authors = []

src/scrapybara/anthropic/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(
5656
* If first screenshot shows black screen:
5757
- Click mouse in screen center
5858
- Take another screenshot
59-
* Today's date is {datetime.today().strftime('%A, %B %-d, %Y')}
59+
* Today's date is {datetime.today().strftime('%A, %B %d, %Y')}
6060
</SYSTEM_CAPABILITY>
6161
6262
<IMPORTANT>
@@ -83,7 +83,7 @@ def __init__(
8383
* If first screenshot shows black screen:
8484
- Click mouse in screen center
8585
- Take another screenshot
86-
* Today's date is {datetime.today().strftime('%A, %B %-d, %Y')}
86+
* Today's date is {datetime.today().strftime('%A, %B %d, %Y')}
8787
</SYSTEM_CAPABILITY>
8888
8989
<IMPORTANT>
@@ -111,7 +111,7 @@ def __init__(
111111
* If first screenshot shows black screen:
112112
- Click mouse in screen center
113113
- Take another screenshot
114-
* Today's date is {datetime.today().strftime('%A, %B %-d, %Y')}
114+
* Today's date is {datetime.today().strftime('%A, %B %d, %Y')}
115115
</SYSTEM_CAPABILITY>
116116
117117
<IMPORTANT>

src/scrapybara/core/client_wrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "scrapybara",
19-
"X-Fern-SDK-Version": "2.3.3",
19+
"X-Fern-SDK-Version": "2.3.4",
2020
}
2121
headers["x-api-key"] = self.api_key
2222
return headers

src/scrapybara/prompts/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* If first screenshot shows black screen:
2525
- Click mouse in screen center
2626
- Take another screenshot
27-
* Today's date is {datetime.today().strftime('%A, %B %-d, %Y')}
27+
* Today's date is {datetime.today().strftime('%A, %B %d, %Y')}
2828
</SYSTEM_CAPABILITY>
2929
3030
<IMPORTANT>
@@ -51,7 +51,7 @@
5151
* If first screenshot shows black screen:
5252
- Click mouse in screen center
5353
- Take another screenshot
54-
* Today's date is {datetime.today().strftime('%A, %B %-d, %Y')}
54+
* Today's date is {datetime.today().strftime('%A, %B %d, %Y')}
5555
</SYSTEM_CAPABILITY>
5656
5757
<IMPORTANT>
@@ -79,7 +79,7 @@
7979
* If first screenshot shows black screen:
8080
- Click mouse in screen center
8181
- Take another screenshot
82-
* Today's date is {datetime.today().strftime('%A, %B %-d, %Y')}
82+
* Today's date is {datetime.today().strftime('%A, %B %d, %Y')}
8383
</SYSTEM_CAPABILITY>
8484
8585
<IMPORTANT>

0 commit comments

Comments
 (0)