<?php

return [
    // PHP-side formats for controllers/blade with Carbon
    'date_format' => env('DATE_FORMAT', 'd/m/Y'),
    'time_format' => env('TIME_FORMAT', 'h:i A'),

    // Frontend (JS) formats, if needed by any JS components
    'frontend_date_format' => env('FRONTEND_DATE_FORMAT', 'DD/MM/YYYY'),
    'frontend_time_format' => env('FRONTEND_TIME_FORMAT', 'hh:mm A'),

    // School day windows and grace policy
    'school_start' => env('SCHOOL_START', '07:30'), // HH:MM (24h)
    'school_end'   => env('SCHOOL_END', '15:00'),   // HH:MM (24h)
    'grace_minutes'=> (int) env('GRACE_MINUTES', 10),
];
