Author Topic: Problem with wdat, imap and mnap.  (Read 4233 times)

Offline Eugene

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Problem with wdat, imap and mnap.
« on: May 19, 2020, 05:35:11 PM »
Hi!
It seems some bug with variables wdat, imap and mnap. They output the full name of the month.
PM 6 build 4538 (51e5663) on macOS Mojave 10.14.6 (18G4032).

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Problem with wdat, imap and mnap.
« Reply #1 on: May 19, 2020, 06:49:50 PM »
Hi!
It seems some bug with variables wdat, imap and mnap. They output the full name of the month.
PM 6 build 4538 (51e5663) on macOS Mojave 10.14.6 (18G4032).

It's working fine for me.  One of my images evaluates to "Wednesday, March 23, 2005" and not just "March" so I have to wonder what's up with your image?

Can you post your image here?  Use the 'Attachments and other options' link when you're composing your reply to this message and there you'll be able to upload your file.

Thanks,

-Kirk

Offline Eugene

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Re: Problem with wdat, imap and mnap.
« Reply #2 on: May 19, 2020, 07:29:45 PM »
Checked with pictures from other cameras. The bug appears on RAWs and JPGs from Nikon z6. Everything works correctly on images from Nikon D800.

File from Nikon z6 in the attachment.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Problem with wdat, imap and mnap.
« Reply #3 on: May 19, 2020, 07:42:47 PM »
Thank you for the sample.  It shows "Tuesday, April 28, 2020" for me on the {wdat} variable with your image.

-Kirk

Offline Eugene

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Re: Problem with wdat, imap and mnap.
« Reply #4 on: May 19, 2020, 07:48:34 PM »
Sorry, Kirk! I expected to see something like Mar. or Apr. I probably misunderstood the principle of abbreviations. February is abbreviated normally, but March and April are not abbreviated. Maybe this is how it should be?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Problem with wdat, imap and mnap.
« Reply #5 on: May 20, 2020, 07:04:15 AM »
Sorry, Kirk! I expected to see something like Mar. or Apr. I probably misunderstood the principle of abbreviations. February is abbreviated normally, but March and April are not abbreviated. Maybe this is how it should be?

{wdat} is defined as being the equivalent of "{idow}, {imap} {iday}, {iyr4}" so I don't know why I get a full date and you only get the month.

-Kirk

Offline Eugene

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Re: Problem with wdat, imap and mnap.
« Reply #6 on: May 20, 2020, 02:20:13 PM »
Kirk, first of all, I apologise and thank you for your patience! It's because my English is bad.

The {wdat} variable outputs the full date, all correct.

I was trying to understand why the names of the months April and March are not abbreviated when I use variables {wdat}, {imap} and {mnap}. I thought the result of these variables would look like Apr. and Mar., not April and March. I was confused by the fact that not all month names are abbreviated as written in the description of the variable {mnap}: Capture month name abbreviated for AP (Jan., Feb., etc). I looked at the table of abbreviations for month names and saw that only May, June and July are not abbreviated. That's what baffled me.

PS Thank you for the great software, you saved me tons of time!

Спасибо! :)

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Problem with wdat, imap and mnap.
« Reply #7 on: May 20, 2020, 02:35:18 PM »
Kirk, first of all, I apologise and thank you for your patience! It's because my English is bad.

PS Thank you for the great software, you saved me tons of time!

You're welcome.  Your English is pretty good, actually!

-Kirk