Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add months #126

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: add months
hitohata committed Nov 19, 2024
commit 06cdc26c2f0d9db583d6d3dc8b5d7f5ec13ea70f
4 changes: 2 additions & 2 deletions crates/aws_clients/src/dynamodb/mod.rs
Original file line number Diff line number Diff line change
@@ -34,8 +34,8 @@ pub mod client {
get_date_list("root").await
}

async fn get_month(_years: usize) -> Result<Vec<String>, String> {
todo!()
async fn get_month(years: usize) -> Result<Vec<String>, String> {
get_date_list(format!("{years}").as_str()).await
}

async fn get_days(_year: usize, _month: usize) -> Result<Vec<String>, String> {