[Bug 243502] date '+%s' shows wrong value

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 22 09:14:24 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243502

            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 at FreeBSD.org
          Reporter: olaf at zaplinski.de

date '+%s' shows wrong value.

Linux: 1579684042
FreeBSD: 135

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

# date '+%s'
513

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

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


More information about the freebsd-bugs mailing list