Skip to content

Commit

Permalink
Version Increment
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachesMLG committed Feb 20, 2025
1 parent ad40075 commit 6d7ecf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "com.iridium"
version = "2.5.12"
version = "2.5.13"
description = "IridiumTeams"

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class TeamMission extends TeamData {

@DatabaseField(columnName = "mission_level", uniqueCombo = true)
private int missionLevel;

@DatabaseField(columnName = "expiration")
private LocalDateTime expiration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public static LocalDateTimeType getSingleton() {
@Override
public Object sqlArgToJava(FieldType fieldType, Object sqlArg, int columnPos) throws SQLException {
long value = (Long) super.sqlArgToJava(fieldType, sqlArg, columnPos);
if(value == 0) return null;
return LocalDateTime.ofInstant(Instant.ofEpochMilli(value), ZoneId.systemDefault());
}

Expand Down

0 comments on commit 6d7ecf1

Please sign in to comment.