just in case
authorgc <gc>
Sun, 12 Feb 2006 17:36:54 +0000 (17:36 +0000)
committergc <gc>
Sun, 12 Feb 2006 17:36:54 +0000 (17:36 +0000)
bin/booh

index 88c4dd30090bc124a3d6bd8b86dc15e3be904857..3e509b7f8d9f0307ee2a9017a755b945e6389d30 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -2145,7 +2145,7 @@ def sort_by_exif_date
             pb.text = f
             pb.fraction = i.to_f / current_order.size
             Gtk.main_iteration while Gtk.events_pending?
             pb.text = f
             pb.fraction = i.to_f / current_order.size
             Gtk.main_iteration while Gtk.events_pending?
-            date_time = `identify -format "%[EXIF:DateTime]" '#{from_utf8($current_path + "/" + f)}'`.chomp
+            date_time = `identify -format "%[EXIF:DateTimeOriginal]" '#{from_utf8($current_path + "/" + f)}'`.chomp
             if $? == 0 && date_time != ''
                 dates[f] = date_time
             end
             if $? == 0 && date_time != ''
                 dates[f] = date_time
             end