* @brief Metadata for writing to the DCP.
*/
+#include <time.h>
#include "metadata.h"
using namespace std;
, issuer ("libdcp" LIBDCP_VERSION)
, creator ("libdcp" LIBDCP_VERSION)
{
-#ifdef LIBDCP_POSIX
char buffer[64];
time_t now;
time (&now);
struct tm* tm = localtime (&now);
strftime (buffer, 64, "%Y-%m-%dT%I:%M:%S+00:00", tm);
issue_date = string (buffer);
-#endif
-
-#ifdef LIBDCP_WINDOWS
- /* XXX */
-#endif
}
/** @return Singleton Metadata instance */