Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/ECTracker.lic
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
contributors: Nisugi
game: Gemstone
tags: enhancives, charge, tracking, data
version: 1.1.0
version: 1.1.1

v1.1.1
- fix to remove non-ascii character
v1.1.0
- added some more data to the display.
- cleaned up time formatting in data
Expand Down Expand Up @@ -130,7 +132,7 @@ module ECTracker
begin
# Attempt to parse the expiration date using the specific format
expiration_time = Time.strptime(expiration, "%m/%d/%Y %H:%M:%S %Z").strftime("%Y-%m-%d %H:%M:%S")
# Add a new entry with expiration if its different from the last recorded expiration
# Add a new entry with expiration if it's different from the last recorded expiration
if last_entry.nil? || last_entry[:expiration] != expiration_time
@@items[item_name] << { expiration: expiration_time, time_checked: timestamp, active: UserVars.enhancives_active }
end
Expand Down