mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor fixes and cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
dd0fe62ad7
commit
8177a807bd
@ -1007,7 +1007,7 @@ var FileSystemWriterActions = actions.Actions({
|
||||
.then(function(){
|
||||
that.data.ribbons[ribbon].forEach(function(gid){
|
||||
var img = that.images[gid]
|
||||
var img_name = pathlib.basename(img.name || img.path)
|
||||
var img_name = pathlib.basename(img.path || (img.name + img.ext))
|
||||
|
||||
|
||||
// get best preview...
|
||||
|
||||
@ -279,7 +279,8 @@ var MetadataUIActions = actions.Actions({
|
||||
// base
|
||||
'GID',
|
||||
'File Name', 'Parent Directory', 'Full Path',
|
||||
'Date file created', 'Date file modified', 'Date file accessed',
|
||||
|
||||
'Date created', 'ctime', 'mtime', 'atime',
|
||||
|
||||
'Index (ribbon)', 'Index (crop)', 'Index (global)',
|
||||
|
||||
@ -378,9 +379,11 @@ var MetadataUIActions = actions.Actions({
|
||||
['Full Path: ',
|
||||
_normalize((img.base_path || '.') +'/'+ img.path)],
|
||||
|
||||
['Date file created: ', img.ctime && new Date(img.ctime).toShortDate()],
|
||||
['- Date file modified: ', img.mtime && new Date(img.mtime).toShortDate()],
|
||||
['- Date file accessed: ', img.atime && new Date(img.atime).toShortDate()],
|
||||
['Date created: ', img.birthtime
|
||||
&& new Date(img.birthtime).toShortDate()],
|
||||
['- ctime: ', img.ctime && new Date(img.ctime).toShortDate()],
|
||||
['- mtime: ', img.mtime && new Date(img.mtime).toShortDate()],
|
||||
['- atime: ', img.atime && new Date(img.atime).toShortDate()],
|
||||
])
|
||||
|
||||
// comment and tags...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user