Commit ebd2f2d
committed
Handle additional exception RangeError in timestamp converting
Imagine a Meta Info like
GPS Date Time: 2024:02:24 15:50:140501265154082Z
This resulted (with at least ruby 3.1.4) into
"integer 140501265154082 too big to convert to `int'"
/usr/local/rvm/rubies/ruby-3.1.4/lib/ruby/3.1.0/time.rb:264:in `utc'
/usr/local/rvm/rubies/ruby-3.1.4/lib/ruby/3.1.0/time.rb:264:in `make_time'
/usr/local/rvm/rubies/ruby-3.1.4/lib/ruby/3.1.0/time.rb:383:in `parse'
/var/www/pictrs/shared/bundle/ruby/3.1.0/gems/mini_exiftool-2.10.4/lib/mini_exiftool.rb:454:in `convert_after_load'1 parent e22d557 commit ebd2f2d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
0 commit comments