updated timestamp to make it prettier

main
fuzzykitten 2025-04-11 13:45:25 -04:00
parent be21c74d06
commit 7224a3ccb6
1 changed files with 2 additions and 2 deletions

View File

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