diff --git a/src/global.gd b/src/global.gd index bcabb67..96805f3 100644 --- a/src/global.gd +++ b/src/global.gd @@ -160,7 +160,7 @@ func parse_custom(value: String) -> bool: if new_time != 0 or (parsed_date["year"] == 1970 and parsed_date["month"] == 1 and parsed_date["day"] == 1): valid = true if not allow_future: - var current_time := Time.get_unix_time_from_datetime_string(Time.get_date_string_from_system(true)) + var current_time := Time.get_unix_time_from_datetime_string(Time.get_date_string_from_system(false)) if new_time > current_time: valid = false if valid: diff --git a/src/main.gd b/src/main.gd index e75ac07..754f798 100644 --- a/src/main.gd +++ b/src/main.gd @@ -52,7 +52,7 @@ func _ready() -> void: else: var random_seed = null if Global.game_mode == Global.GameMode.DAILY: - var current_time := Time.get_date_string_from_system(true) + var current_time := Time.get_date_string_from_system(false) random_seed = Time.get_unix_time_from_datetime_string(current_time) title.text = "Daily " + title.text diff --git a/src/menu.tscn b/src/menu.tscn index 9bc6452..cfbd510 100644 --- a/src/menu.tscn +++ b/src/menu.tscn @@ -107,7 +107,7 @@ text = "Daily Gordle" [node name="Label" type="Label" parent="C/V/V2/V"] layout_mode = 2 theme_override_fonts/font = SubResource("2") -text = "Changes at midnight UTC" +text = "Changes at midnight local time" label_settings = SubResource("LabelSettings_17upj") horizontal_alignment = 1