changes here, changes there

This commit is contained in:
2021-02-16 19:53:39 +01:00
parent c1532e78b1
commit 4b93f39375
9 changed files with 332 additions and 121 deletions

19
ml_date.h Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
#include "ml.h"
#include "clib/date.h"
#include <string>
#include <vector>
int now();
// TODO temporary solution before format will be implemented
std::string date_to_string(const int datetime, const std::string format);
int string_to_date(const std::string &datestr, const std::string &format);
int add_to_date(const int datetime, const int quantity, const std::string &part);