This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit eeccde43fc8ca7d7c8ba43989071c92c49b43bbb Author: chaokunyang <[email protected]> AuthorDate: Mon Jan 26 17:28:15 2026 +0000 🔄 synced local 'docs/guide/' with remote 'docs/guide/' --- docs/guide/cpp/cross-language.md | 2 +- docs/guide/cpp/supported-types.md | 6 +++--- docs/guide/cpp/type-registration.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guide/cpp/cross-language.md b/docs/guide/cpp/cross-language.md index ce192de8bb..e443b2ff50 100644 --- a/docs/guide/cpp/cross-language.md +++ b/docs/guide/cpp/cross-language.md @@ -167,7 +167,7 @@ print(f"Timestamp: {msg.timestamp}") | ----------- | ----------- | --------------- | --------------- | | `Timestamp` | `Instant` | `datetime` | `time.Time` | | `Duration` | `Duration` | `timedelta` | `time.Duration` | -| `LocalDate` | `LocalDate` | `datetime.date` | `time.Time` | +| `Date` | `LocalDate` | `datetime.date` | `time.Time` | ## Field Order Requirements diff --git a/docs/guide/cpp/supported-types.md b/docs/guide/cpp/supported-types.md index 889540c343..3963852f2c 100644 --- a/docs/guide/cpp/supported-types.md +++ b/docs/guide/cpp/supported-types.md @@ -211,15 +211,15 @@ auto bytes = fory.serialize(now).value(); auto decoded = fory.deserialize<Timestamp>(bytes).value(); ``` -### LocalDate +### Date Days since Unix epoch: ```cpp -LocalDate date{18628}; // Days since 1970-01-01 +Date date{18628}; // Days since 1970-01-01 auto bytes = fory.serialize(date).value(); -auto decoded = fory.deserialize<LocalDate>(bytes).value(); +auto decoded = fory.deserialize<Date>(bytes).value(); ``` ## User-Defined Structs diff --git a/docs/guide/cpp/type-registration.md b/docs/guide/cpp/type-registration.md index e256184954..99a5ca599f 100644 --- a/docs/guide/cpp/type-registration.md +++ b/docs/guide/cpp/type-registration.md @@ -184,7 +184,7 @@ Built-in types have pre-assigned type IDs and don't need registration: | 15 | SET | | 16 | TIMESTAMP | | 17 | DURATION | -| 18 | LOCAL_DATE | +| 18 | DATE | | 19 | DECIMAL | | 20 | BINARY | | 21 | ARRAY | --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
