From 2749367a227c956f9a70667344452702cb385bcf Mon Sep 17 00:00:00 2001 From: Marli Frost Date: Thu, 19 Sep 2024 08:09:34 +0100 Subject: [PATCH 1/3] docs: update the description of Timestamp to match current impl --- src/timestamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timestamp.rs b/src/timestamp.rs index 5df3d15..25dea95 100644 --- a/src/timestamp.rs +++ b/src/timestamp.rs @@ -23,7 +23,7 @@ use crate::{ /// An instant in time represented as the number of nanoseconds since the Unix /// epoch. /// -/// A timestamp is always in UTC. +/// A timestamp is always in the UNIX timescale. /// /// To obtain civil or "local" datetime units like year, month, day or hour, a /// timestamp needs to be combined with a [`TimeZone`] to create a [`Zoned`]. From d0057a7bb9726d5d2cd276c3dd2a23d0160e7523 Mon Sep 17 00:00:00 2001 From: Marli Frost Date: Thu, 19 Sep 2024 18:04:37 +0100 Subject: [PATCH 2/3] docs: elaborate on the value of unix timestamps --- src/timestamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timestamp.rs b/src/timestamp.rs index 25dea95..ea57d70 100644 --- a/src/timestamp.rs +++ b/src/timestamp.rs @@ -23,7 +23,7 @@ use crate::{ /// An instant in time represented as the number of nanoseconds since the Unix /// epoch. /// -/// A timestamp is always in the UNIX timescale. +/// A timestamp is always in the UNIX timescale with a UTC offset of zero. /// /// To obtain civil or "local" datetime units like year, month, day or hour, a /// timestamp needs to be combined with a [`TimeZone`] to create a [`Zoned`]. From 832598dfb1ab95620a39e3988564ad7a01b2eed7 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sun, 22 Sep 2024 08:53:08 -0400 Subject: [PATCH 3/3] Update src/timestamp.rs --- src/timestamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timestamp.rs b/src/timestamp.rs index ea57d70..5510114 100644 --- a/src/timestamp.rs +++ b/src/timestamp.rs @@ -23,7 +23,7 @@ use crate::{ /// An instant in time represented as the number of nanoseconds since the Unix /// epoch. /// -/// A timestamp is always in the UNIX timescale with a UTC offset of zero. +/// A timestamp is always in the Unix timescale with a UTC offset of zero. /// /// To obtain civil or "local" datetime units like year, month, day or hour, a /// timestamp needs to be combined with a [`TimeZone`] to create a [`Zoned`].