Skip to content

Commit

Permalink
feat: add months (#126)
Browse files Browse the repository at this point in the history
* feat: add months

* fix: wording
  • Loading branch information
hitohata authored Nov 19, 2024
1 parent 99f124c commit 6b442e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/aws_clients/src/dynamodb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(year: usize) -> Result<Vec<String>, String> {
get_date_list(format!("{year}").as_str()).await
}

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

0 comments on commit 6b442e2

Please sign in to comment.