Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2020 09:14:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243502] date '+%s' shows wrong value
Message-ID:  <bug-243502-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243502

            Bug ID: 243502
           Summary: date '+%s' shows wrong value
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: olaf@zaplinski.de

date '+%s' shows wrong value.

Linux: 1579684042
FreeBSD: 135

According to 'man strftime', %s should be 'number of seconds since the Epoc=
h,
UTC'

# date '+%s'
513

# date -r 513
Thu Jan  1 01:08:33 CET 1970

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243502-227>