~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to src/lib9/ctime.c

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý, Ondřej Surý, Michael Stapelberg
  • Date: 2012-06-28 12:14:15 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120628121415-w1b0076ixkarr1ml
[ Ondřej Surý ]
* Imported Upstream version 1.0.2
* Update Vcs fields to reflect new git repository location
* Kill get-orig-source, since 1.0.0, the tarballs can be downloaded
  from webpage

[ Michael Stapelberg ]
* golang-mode: use debian-pkg-add-load-path-item (Closes: #664802)
* Add manpages (Closes: #632964)
* Use updated pt.po from Pedro Ribeiro (Closes: #674958)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        tt = t;
17
17
        tm = localtime(&tt);
18
18
        snprint(buf, sizeof buf, "%3.3s %3.3s %02d %02d:%02d:%02d %3.3s %d\n",
19
 
                "SunMonTueWedThuFriSat"+(tm->tm_wday*3),
20
 
                "JanFebMarAprMayJunJulAugSepOctNovDec"+(tm->tm_mon*3),
 
19
                &"SunMonTueWedThuFriSat"[tm->tm_wday*3],
 
20
                &"JanFebMarAprMayJunJulAugSepOctNovDec"[tm->tm_mon*3],
21
21
                tm->tm_mday,
22
22
                tm->tm_hour,
23
23
                tm->tm_min,