Skip to content

Commit 9144ac9

Browse files
committed
Update documentation for timestamp() Fix function. (#232)
1 parent abe0172 commit 9144ac9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,16 +312,16 @@ hash("foo")
312312

313313
#### `timestamp`
314314

315-
Adds field or overwrites field with current timestamp.
315+
Creates (or replaces) a field with the current timestamp.
316316

317317
Options:
318318

319-
- `format` patterns as in [java.text.SimpleDateFormat](https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html)
320-
- `timezone` as in [java.util.TimeZone](https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html) (Standard: UTC)
321-
- `language` area codes as in [java.util.Locale](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html)
319+
- `format`: Date and time pattern as in [java.text.SimpleDateFormat](https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html) (Default: Unix timestamp).
320+
- `timezone`: Time zone as in [java.util.TimeZone](https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html) (Default: UTC).
321+
- `language`: Language tag as in [java.util.Locale](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html) (Default: The locale of the host system).
322322

323323
```perl
324-
timestamp("<targetField>", [, format: "<formatPattern>"][, timezone: "<timezoneCode>"][, language: "<areaCode>"])
324+
timestamp("<targetField>"[, format: "<formatPattern>"][, timezone: "<timezoneCode>"][, language: "<languageCode>"])
325325
```
326326

327327
#### `format`

0 commit comments

Comments
 (0)