Skip to content

Commit

Permalink
Add docs on Timestamp range
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Apr 28, 2021
1 parent a112bd5 commit 7b50784
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion contracts/ibc-reflect-send/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@
]
},
"Timestamp": {
"description": "A point in time in nanosecond precision.\n\nThis type cannot represent any time before the UNIX epoch because both fields are unsigned.",
"description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.",
"allOf": [
{
"$ref": "#/definitions/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion contracts/ibc-reflect-send/schema/packet_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@
]
},
"Timestamp": {
"description": "A point in time in nanosecond precision.\n\nThis type cannot represent any time before the UNIX epoch because both fields are unsigned.",
"description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.",
"allOf": [
{
"$ref": "#/definitions/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion contracts/ibc-reflect/schema/packet_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@
]
},
"Timestamp": {
"description": "A point in time in nanosecond precision.\n\nThis type cannot represent any time before the UNIX epoch because both fields are unsigned.",
"description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.",
"allOf": [
{
"$ref": "#/definitions/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion contracts/reflect/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@
}
},
"Timestamp": {
"description": "A point in time in nanosecond precision.\n\nThis type cannot represent any time before the UNIX epoch because both fields are unsigned.",
"description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.",
"allOf": [
{
"$ref": "#/definitions/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion contracts/reflect/schema/response_for__custom_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@
}
},
"Timestamp": {
"description": "A point in time in nanosecond precision.\n\nThis type cannot represent any time before the UNIX epoch because both fields are unsigned.",
"description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.",
"allOf": [
{
"$ref": "#/definitions/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion packages/std/schema/timestamp.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Timestamp",
"description": "A point in time in nanosecond precision.\n\nThis type cannot represent any time before the UNIX epoch because both fields are unsigned.",
"description": "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.",
"allOf": [
{
"$ref": "#/definitions/Uint64"
Expand Down
2 changes: 1 addition & 1 deletion packages/std/src/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::math::Uint64;

/// A point in time in nanosecond precision.
///
/// This type cannot represent any time before the UNIX epoch because both fields are unsigned.
/// This type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.
#[derive(
Serialize, Deserialize, Copy, Clone, Default, Debug, PartialEq, Eq, PartialOrd, Ord, JsonSchema,
)]
Expand Down

0 comments on commit 7b50784

Please sign in to comment.