mirror of
https://github.com/YGGverse/next.git
synced 2025-01-25 22:34:21 +00:00
rename environment attribute from time to date
This commit is contained in:
parent
aa27bcc9b7
commit
1ec4b61970
@ -75,7 +75,7 @@ Provide arguments in `key=value` format, separated by space
|
||||
* `port` - default value depends of server `type` selected, for example `1900` for `nex` or `1965` for `gemini`
|
||||
* `file` - index **file name** that server try to open on directory path requested, disabled by default
|
||||
* `list` - show content listing in the requested directory (when index `file` not found), enabled by default
|
||||
* `time` - show file modification time as the alt text in directory listing (useful for gemfeed), disabled by default
|
||||
* `date` - show file modification date as the alt text in directory listing (useful for gemfeed), disabled by default
|
||||
* `fail` - **absolute path** to the failure template (e.g. `/path/to/error.gmi`), disabled by default
|
||||
* `dump` - `enable` or `disable` server debug feature, enabled by default
|
||||
|
||||
|
@ -135,7 +135,7 @@ class Nex implements MessageComponentInterface
|
||||
];
|
||||
|
||||
// Append modification time on enabled
|
||||
if ($item['time'] && $this->_environment->get('time'))
|
||||
if ($item['time'] && $this->_environment->get('date'))
|
||||
{
|
||||
$link[] = date(
|
||||
'Y-m-d', // gemfeed format
|
||||
|
Loading…
x
Reference in New Issue
Block a user