Skip to content

Commit 585a6a1

Browse files
authored
Fixed the data format across docs (#5111)
1 parent 2d830ca commit 585a6a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/search/search-cheat-sheets/log-operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ This section provides detailed syntax, rules, and examples for Sumo Logic Opera
266266
<td>The formatDate operator allows you to format dates in log files as a string in the format you require, such as US date formatting, European formatting, timestamps, etc.</td>
267267
<td></td>
268268
<td></td>
269-
<td><code>* | formatDate(now(), "YYYY-MM-dd") as today</code></td>
269+
<td><code>* | formatDate(now(), "yyyy-MM-dd") as today</code></td>
270270
</tr>
271271
<tr>
272272
<td><a href="/docs/search/search-query-language/search-operators/geo-lookup-map">geo lookup</a></td>

docs/search/search-query-language/search-operators/now.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Which returns results similar to:
3030

3131
### Return the current date using formatDate
3232

33-
Use the following query with formatDate to return results for the current date formatted as YYYY-MM-dd.
33+
Use the following query with formatDate to return results for the current date formatted as yyyy-MM-dd.
3434

3535
```sql
36-
* | formatDate(now(), "YYYY-MM-dd") as today
36+
* | formatDate(now(), "yyyy-MM-dd") as today
3737
```
3838

3939
This returns the following results.

0 commit comments

Comments
 (0)