Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
xmoontool
xmoontool-22sep94-y2kfix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmoontool-22sep94-y2kfix.patch of Package xmoontool
--- xmoontool.c +++ xmoontool.c @@ -809,9 +809,9 @@ sprintf(tbuf, "%2d:%02d:%02d %2d %s %d", hh, mmm, ss, dd, moname [mm - 1], yy); } else { - sprintf(tbuf, "%2d:%02d:%02d %2d %s 19%d", + sprintf(tbuf, "%2d:%02d:%02d %2d %s %d", gm->tm_hour, gm->tm_min, gm->tm_sec, - gm->tm_mday, moname [gm->tm_mon], gm->tm_year); + gm->tm_mday, moname [gm->tm_mon], 1900+gm->tm_year); } prt(2); @@ -820,9 +820,9 @@ /* Local time */ - sprintf(tbuf, "%2d:%02d:%02d %2d %s 19%d", + sprintf(tbuf, "%2d:%02d:%02d %2d %s %d", gm->tm_hour, gm->tm_min, gm->tm_sec, - gm->tm_mday, moname [gm->tm_mon], gm->tm_year); + gm->tm_mday, moname [gm->tm_mon], 1900+gm->tm_year); prt(3); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor