Skip to content

timestamp on ports.su main web page #8

@rjc

Description

@rjc

Hi,

There's a time stamp (beginning of UNIX epoch/POSIX time) at the bottom of the ports.su page, which reads:

OpenBSD/amd64 snapshot from Thursday, 1970-01-01T00Z.

It's clearly something to do with:

my $snapshot = (stat($ENV{DATABASE}))[9];
$e->{snapshot} =
    POSIX::strftime("%A, <span title='%G-W%V-%u'>%Y-%m-%d</span>T%HZ",
                    gmtime($snapshot));

in ports-readmes/files/make-readmes but I don't know enough Perl to figure it out, sorry.

Regards,

Raf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions