Switch from time to jiff
This commit is contained in:
parent
a6d5c9f671
commit
87b031101f
6 changed files with 51 additions and 12 deletions
|
|
@ -49,8 +49,8 @@ pub async fn run(tx: mpsc::Sender<Command>, addr: String) -> anyhow::Result<()>
|
|||
|
||||
#[derive(Deserialize)]
|
||||
struct PostCalendarForm {
|
||||
year: i32,
|
||||
month: u8,
|
||||
year: i16,
|
||||
month: i8,
|
||||
}
|
||||
|
||||
async fn post_calendar(server: State<Server>, request: Form<PostCalendarForm>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue