# localtime **Repository Path**: kivensoft/localtime_rs ## Basic Information - **Project Name**: localtime - **Description**: 自定义可基于time/chrono库扩展的时间日期对象,支持mysql数据类型转换 - **Primary Language**: Rust - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-12 - **Last Updated**: 2025-02-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # localtime -- simple localtime library 自定义可基于time/chrono库扩展的时间日期对象,支持mysql数据类型转换 --- #### 项目地址 ###### 第三方依赖 * serde * serde_json * time [optional] * chrono [optional] * mysql_common [optional] --- ###### 添加依赖 `cargo add --git https://gitee.com/kivensoft/localtime_rs jwt` ###### 使用 ```rust use localtime::LocalTime; fn main() { let lt = LocalTime::now(); println!("{}", lt); // output like "2023-10-11 03:44:01" } ```