diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-09 00:00:12 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-09 00:00:49 +0900 |
| commit | 1c0eb589741de4aa52ef941ff9315b34dbe48aa0 (patch) | |
| tree | 8d821cf3a7fb3f8c753dec7861ad9597f6948493 /crates/shirabe/src/repository/vcs/perforce_driver.rs | |
| parent | e5b789616ec4c1cbd152c5ccbefe2d27ced4a18f (diff) | |
| download | php-shirabe-1c0eb589741de4aa52ef941ff9315b34dbe48aa0.tar.gz php-shirabe-1c0eb589741de4aa52ef941ff9315b34dbe48aa0.tar.zst php-shirabe-1c0eb589741de4aa52ef941ff9315b34dbe48aa0.zip | |
feat(datetime): resolve datetime TODOs
Introduce shim functions and constants, replacing the ad-hoc chrono
format strings and parse helpers used as phase-b placeholders.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/repository/vcs/perforce_driver.rs')
| -rw-r--r-- | crates/shirabe/src/repository/vcs/perforce_driver.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/repository/vcs/perforce_driver.rs b/crates/shirabe/src/repository/vcs/perforce_driver.rs index 0fe0f6f..65f2856 100644 --- a/crates/shirabe/src/repository/vcs/perforce_driver.rs +++ b/crates/shirabe/src/repository/vcs/perforce_driver.rs @@ -113,7 +113,7 @@ impl PerforceDriver { pub fn get_change_date( &self, _identifier: &str, - ) -> anyhow::Result<Option<chrono::DateTime<chrono::Utc>>> { + ) -> anyhow::Result<Option<chrono::DateTime<chrono::FixedOffset>>> { Ok(None) } @@ -248,7 +248,7 @@ impl crate::repository::vcs::VcsDriverInterface for PerforceDriver { fn get_change_date( &mut self, identifier: &str, - ) -> anyhow::Result<Option<chrono::DateTime<chrono::Utc>>> { + ) -> anyhow::Result<Option<chrono::DateTime<chrono::FixedOffset>>> { PerforceDriver::get_change_date(self, identifier) } |
