We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80097c commit f153c47Copy full SHA for f153c47
tests/playwright/shiny/inputs/input_slider/test_input_slider_app.py
@@ -11,8 +11,7 @@
11
12
def convert_to_utc_date(date_str: str) -> str:
13
date_obj = datetime.datetime.strptime(date_str, "%m/%d/%y")
14
- epoch_time_seconds = date_obj.timestamp()
15
- epoch_time_milliseconds = float(epoch_time_seconds * 1000)
+ epoch_time_milliseconds = date_obj.timestamp() * 1000
16
return str(epoch_time_milliseconds)
17
18
0 commit comments