From: Dirk Lemstra Date: Sat, 20 Apr 2019 18:43:04 +0000 (+0200) Subject: Corrected writing the time because this has changed to UTC. X-Git-Tag: 7.0.8-42~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e30422cf6fc4872dedb733c9471b6d82fee8122;p=imagemagick Corrected writing the time because this has changed to UTC. --- diff --git a/coders/cin.c b/coders/cin.c index cee28577d..bc83e3ce7 100644 --- a/coders/cin.c +++ b/coders/cin.c @@ -1090,9 +1090,8 @@ static MagickBooleanType WriteCINImage(const ImageInfo *image_info,Image *image, sizeof(cin.origination.filename)); offset+=WriteBlob(image,sizeof(cin.origination.filename),(unsigned char *) cin.origination.filename); - seconds=GetMagickTime(); (void) memset(timestamp,0,sizeof(timestamp)); - (void) strftime(timestamp,MagickPathExtent,"%Y:%m:%d:%H:%M:%S%Z",&local_time); + (void) strftime(timestamp,MaxTextExtent,"%Y:%m:%d:%H:%M:%SUTC",&local_time); (void) memset(cin.origination.create_date,0, sizeof(cin.origination.create_date)); (void) CopyMagickString(cin.origination.create_date,timestamp,11);