[core] Display modify, expires debug information

This commit is contained in:
Bruno de Oliveira Abinader
2015-11-25 16:01:08 +02:00
parent 591e0dde2f
commit 044e92f5e8
5 changed files with 34 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
#ifndef MBGL_UTIL_TIME
#define MBGL_UTIL_TIME
#include <mbgl/util/chrono.hpp>
#include <string>
#include <cstdint>
#include <ctime>
@@ -12,6 +14,9 @@ namespace util {
// Returns the RFC1123 formatted date. E.g. "Tue, 04 Nov 2014 02:13:24 GMT"
std::string rfc1123(std::time_t time);
// YYYY-mm-dd HH:MM:SS e.g. "2015-11-26 16:11:23"
std::string iso8601(std::time_t time);
}
}