aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua
index edbcb5f..c9d5a1a 100755
--- a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua
+++ b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua
@@ -95,7 +95,7 @@ MediaWikiExportServiceProvider.processRenderedPhotos = function(functionContext,
local timestampSeconds = photo:getRawMetadata('dateTimeOriginal')
local timestamp = ''
if timestampSeconds then
- timestamp = os.date("!%Y-%m-%d", timestampSeconds + 978307200)
+ timestamp = os.date("!%Y-%m-%d %H:%M:%S", timestampSeconds + 978307200)
end
local author = exportSettings.info_author
local license = exportSettings.info_license