From 5e30422cf6fc4872dedb733c9471b6d82fee8122 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 20 Apr 2019 20:43:04 +0200 Subject: [PATCH] Corrected writing the time because this has changed to UTC. --- coders/cin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.40.0