Skip to content

Commit 056d3a9

Browse files
authored
DateTime fix typo in lambda example (#4678)
fixed copy&paste typo
1 parent 9149184 commit 056d3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/datetime/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ For more complex use cases, several methods are available for use on datetimes f
288288
289289
// Within lambda, set the datetime to 2024-12-31 12:34:56
290290
auto call = id(my_datetime).make_call();
291-
call.set_date("2024-12-31 12:34:56");
291+
call.set_datetime("2024-12-31 12:34:56");
292292
call.perform();
293293
294294
Check the API reference for information on the methods that are available for

0 commit comments

Comments
 (0)