URI:
       use localtime and shorter format - tscrape - twitter scraper
  HTML git clone git://git.codemadness.org/tscrape
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 50af4c451907a854adf9ae313e534ab56c5d442c
   DIR parent edc04377d1528364b2cb7308c26bcf48bb0b7cdc
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 23 Apr 2016 13:13:41 +0200
       
       use localtime and shorter format
       
       Diffstat:
         M tscrape.1                           |       2 +-
         M tscrape.c                           |       4 ++--
       
       2 files changed, 3 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/tscrape.1 b/tscrape.1
       @@ -19,7 +19,7 @@ The order and format of the fields are:
        .It UNIX timestamp
        UNIX timestamp in UTC+0.
        .It timestamp
       -Date and time in RFC3339 format: YYYY-mm-ddTHH:MM:SSZ.
       +Local date and time in the format: YYYY-mm-dd HH:MM.
        .It tweet text
        Tweet text.
        .It username
   DIR diff --git a/tscrape.c b/tscrape.c
       @@ -86,9 +86,9 @@ parsetime(const char *s, time_t *t, char *buf, size_t bufsiz)
        
                if (strtotime(s, t))
                        return -1;
       -        if (!(tm = gmtime(t)))
       +        if (!(tm = localtime(t)))
                        return -1;
       -        if (!strftime(buf, bufsiz, "%Y-%m-%dT%H:%M:%SZ", tm))
       +        if (!strftime(buf, bufsiz, "%Y-%m-%d %H:%M", tm))
                        return -1;
        
                return 0;