From 4231789b71bb42c4ab04e125f98fe5eb3cf030b6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 17 Nov 2024 14:49:03 -0500 Subject: Rename datetime -> moment --- docs/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/README.md') diff --git a/docs/README.md b/docs/README.md index 6d3567df..960ed4af 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,7 +22,7 @@ Information about Tomo's built-in types can be found here: - [Booleans](booleans.md) - [Bytes](bytes.md) - [Channels](channels.md) -- [DateTime](datetime.md) +- [Moment](moments.md) - [Enums](enums.md) - [Floating point numbers](nums.md) - [Integer Ranges](ranges.md) @@ -177,11 +177,11 @@ fail("Oh no!") ### `now` **Description:** -Gets the current time. This is an alias for `DateTime.now()`. +Gets the current time. This is an alias for `Moment.now()`. **Signature:** ```tomo -func now(->DateTime) +func now(->Moment) ``` **Parameters:** @@ -189,7 +189,7 @@ func now(->DateTime) None. **Returns:** -The current moment as a DateTime. +The current moment as a Moment. **Example:** ```tomo -- cgit v1.2.3