aboutsummaryrefslogtreecommitdiff
path: root/docs/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-17 14:49:03 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-17 14:49:03 -0500
commit4231789b71bb42c4ab04e125f98fe5eb3cf030b6 (patch)
treec73aafaeef60b77555cfd25ccd30c618e431d52a /docs/README.md
parentc1ae79ac3c320923363994fb88f4cc2fa13317ce (diff)
Rename datetime -> moment
Diffstat (limited to 'docs/README.md')
-rw-r--r--docs/README.md8
1 files changed, 4 insertions, 4 deletions
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