Support » Plugin: Exifography » timestamp format

  • Hello,

    I am trying to customize the timestamp. Here is what I want (and what I paste into the field in the settings page:

    j M Y \a\t G:i T (P \G\M\T)

    but when I hit save, it automatically changes it to:

    j M Y \\a\\t G:i T (P \\G\\M\\T)

    Instead of getting something that looks like this:

    7 nov 2017 at 21:11 est (-05:00 gmt)

    I come up with:

    9 Dec 2006 \\am\\31 11:10 EST (-05:00 \\11\\Dec\\UTC)

    I’d appreciate any help someone could give me to fix this.

    Thanks so much.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author kristarella


    Hey @joshmbuck,

    Why do you have \ in the original time code?

    It should just be: j M Y a t G:i T (P GMT)

    I tested it on my site just now and it produced: 23 Feb 2017 pm 28 14:37 UTC (+00:00 14FebUTC)

    Screen Shot
    Screen Shot

    Thanks for the reply.

    The \ allows letters to show up as letters so \a\t would translate to at

    (I found this at the bottom of the page here:

    You can prevent a recognized character in the format string from being expanded by escaping it with a preceding backslash. If the character with a backslash is already a special sequence, you may need to also escape the backslash.

    • This reply was modified 9 months, 2 weeks ago by  Josh.



    Just checking in to see if you had any other thoughts on this one.


    Plugin Author kristarella


    Hey Josh,

    Sorry, I think I’ll have to write a custom validation for the date. I didn’t realise that it was legit to add \a\t and stuff like that to the timestamp.

    My recommendation is to remove those aspects of your timestamp for now and I’ll write a fix into the next release.



    cool. That sounds good. I look forward to it. This is a great plugin, and it’s definitely going to feature into my design for my photoblog.

    What I’d like to do is to switch the posted date for the EXIF taken date. But when I use your code, it includes the bullet before the date. how do I remove the bullet specifically for that, but keep it for the other fields? Is this possible?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘timestamp format’ is closed to new replies.