Skip to content

Commit

Permalink
Modified date format to fit dialog windows - 0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
27shutterclicks committed Sep 30, 2022
1 parent 1399736 commit 82626d4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ LrTasks.startAsyncTask( function()

-- build output with or without including the timestamp
if not dateExists then
historySteps = historySteps .. stepName .. " (" .. stepDate .. ") - (" .. splitStep[key][3] ..")\n"
historySteps = historySteps .. stepName .. " (" .. stepDate .. ")\n"
else
historySteps = historySteps .. stepName .. "\n" --omit the date if name includes it
end
Expand Down
2 changes: 1 addition & 1 deletion DevelopHistoryTimestamps.lrplugin/Info.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ return {

LrEnablePlugin = 'PluginEnable.lua',

VERSION = { major=0, minor=9, revision=4, },
VERSION = { major=0, minor=9, revision=5, },

}
2 changes: 1 addition & 1 deletion DevelopHistoryTimestamps.lrplugin/View Edit Time.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ LrTasks.startAsyncTask( function()
changedTime = dst~= nil and changedTime-3600 or changedTime

-- show output
dialog.message( os.date("%A, %B %d, %Y %I\:%M\:%S %p",changedTime), "Last edit time for: " .. filename, "info")
dialog.message( os.date("%B %d, %Y %I\:%M\:%S %p",changedTime), "Last edit time for: " .. filename, "info")

end -- function()
) --startAsyncTask
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ LrTasks.startAsyncTask( function()
local lastEdited = splitStep[2]

-- format timestamp to string
lastEdited = timeStampToDate(lastEdited,"%A, %B %d, %Y %I\:%M\:%S %p")
lastEdited = timeStampToDate(lastEdited,"%B %d, %Y %I\:%M\:%S %p")

-- show output
dialog.message( lastEdited, "Latest develop time for: " .. filename, "info")
Expand Down
5 changes: 2 additions & 3 deletions DevelopHistoryTimestamps.lrplugin/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ A discussion on this topic and the need for seeing the timestamps exists in the
## Installation

- Download the latest release zip archive from Github and extract to a folder of your choice.
- Copy the entire DevelopHistoryTimestamps.lrplugin folder to wherever you store your Lightroom plugins. I like to keep mine in a "Lightroom Plugins" folder where my catalog file is located. However, it can be placed anywhere you wish on your hard drive.
- Copy the entire DevelopHistoryTimestamps.lrplugin folder to wherever you store your Lightroom plugins. A good location is in a "Lightroom Plugins" folder where the Lightroom catalog file is located.
- In Ligthroom, go to File > Plug-in Manager and click Add.
- Browse to the location where you moved the DevelopHistoryTimestamps.lrplugin folder, select it and then click Select Folder button.
- See Usage & Features section below on how to use the plugin features.
- Select the DevelopHistoryTimestamps.lrplugin folder u copied, then click Select Folder button.

## Usage & Features

Expand Down

0 comments on commit 82626d4

Please sign in to comment.