diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-28 17:53:27 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-29 12:45:36 (EDT) |
commit | 4bf5cad1d4f42dc8b7321e84fba8acf4ece5d6a1 (patch) | |
tree | c81b72e7ab042058018f51c03110bf6fed71be44 /src/datetime.h | |
parent | 28226fed7a52114efbd43860ef1ff7794ce88931 (diff) | |
download | atsign-4bf5cad1d4f42dc8b7321e84fba8acf4ece5d6a1.zip atsign-4bf5cad1d4f42dc8b7321e84fba8acf4ece5d6a1.tar.gz atsign-4bf5cad1d4f42dc8b7321e84fba8acf4ece5d6a1.tar.bz2 |
datetime: Further implement
Simplify concatenation, factor out formats, and determine date if not
specified.
Diffstat (limited to 'src/datetime.h')
-rw-r--r-- | src/datetime.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/datetime.h b/src/datetime.h index 562b377..057bc4b 100644 --- a/src/datetime.h +++ b/src/datetime.h @@ -1,4 +1,26 @@ +/* + * Copyright (C) 2021 P. J. McDermott + * + * This file is part of @ + * + * @ is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * @ is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with @. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef DATETIME_H_ +#define DATETIME_H_ int datetime_parse(int argc, const char *argv[], struct tm *tm); +#endif /* DATETIME_H_ */ |