diff --git a/hoot-core/src/main/cpp/hoot/core/io/OsmJsonWriter.cpp b/hoot-core/src/main/cpp/hoot/core/io/OsmJsonWriter.cpp
index 40a376a..d50257c 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/OsmJsonWriter.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/io/OsmJsonWriter.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "OsmJsonWriter.h"
@@ -31,7 +31,7 @@
#include <hoot/core/elements/ElementType.h>
#include <hoot/core/elements/Node.h>
#include <hoot/core/elements/OsmMap.h>
-#include <hoot/core/elements/OsmUtils.h>
+#include <hoot/core/util/DateTimeUtils.h>
#include <hoot/core/elements/Relation.h>
#include <hoot/core/elements/Tags.h>
#include <hoot/core/elements/Way.h>
@@ -178,7 +178,7 @@ void OsmJsonWriter::_writeMetadata(const Element& element)
{
if (_includeCompatibilityTags)
{
- _writeKvp("timestamp", OsmUtils::toTimeString(element.getTimestamp())); _write(",");
+ _writeKvp("timestamp", DateTimeUtils::toTimeString(element.getTimestamp())); _write(",");
long version = element.getVersion();
if (version == ElementData::VERSION_EMPTY)
{
@@ -190,7 +190,7 @@ void OsmJsonWriter::_writeMetadata(const Element& element)
{
if (element.getTimestamp() != ElementData::TIMESTAMP_EMPTY)
{
- _writeKvp("timestamp", OsmUtils::toTimeString(element.getTimestamp())); _write(",");
+ _writeKvp("timestamp", DateTimeUtils::toTimeString(element.getTimestamp())); _write(",");
}
if (element.getVersion() != ElementData::VERSION_EMPTY)
{