diff --git a/opt/post.php b/opt/post.php index 9614fd9..f42dc82 100644 --- a/opt/post.php +++ b/opt/post.php @@ -462,7 +462,7 @@ function make_edit($db, $sub, $post_id, $ip, $settings) return $post_id; } -// Make a rough timestamp, like Q1/2025 +// Make a timestamp, precision is set in the config file function make_timestamp($settings){ $month = date("F"); @@ -471,7 +471,7 @@ function make_timestamp($settings){ if ( $settings['precision_timestamps'] == 'middle' ) { $timestamp = $month . '/' . $year; } elseif ( $settings['precision_timestamps'] == 'high' ) { - $timestamp = date("y-m-d"); + $timestamp = date("Y-m-d"); } elseif ( $settings['precision_timestamps'] == 'insane' ) { $timestamp = date("Y-m-d H:i:s"); } else {