This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new be491b41b Fix documentation of string_to_timestamp_nanos (#3977)
be491b41b is described below

commit be491b41b7698cf10a788663ad2906de5eb778ef
Author: byteink <jonahg...@gmail.com>
AuthorDate: Thu Mar 30 16:17:41 2023 +0800

    Fix documentation of string_to_timestamp_nanos (#3977)
---
 arrow-cast/src/parse.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow-cast/src/parse.rs b/arrow-cast/src/parse.rs
index 45a255626..e2c7f9bcc 100644
--- a/arrow-cast/src/parse.rs
+++ b/arrow-cast/src/parse.rs
@@ -265,7 +265,7 @@ pub fn string_to_datetime<T: TimeZone>(
 /// relative to UTC, see [`string_to_datetime`] for alternative semantics
 ///
 /// For example, both `1997-01-31 09:26:56.123Z`, `1997-01-31T09:26:56.123`,
-/// and `1997-01-31T14:26:56.123-05:00` will be parsed as the same value
+/// and `1997-01-31T14:26:56.123+05:00` will be parsed as the same value
 ///
 #[inline]
 pub fn string_to_timestamp_nanos(s: &str) -> Result<i64, ArrowError> {

Reply via email to