Expires Header Format added #6

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

soitgoes commented Dec 4, 2011

Like your library. Just wanted to contribute a convenience format to keep me from having to keep looking it up.

I'm not sure if the expires header requires you submit the timezone as GMT (which is equivalent of course to UTC) but I'm not sure if all browsers it requires GMT In the string in order to behave correctly.

Right now "expiresHeaderFormat" would produce a string ending in UTC but otherwise in the correct format assuming you executed it like.

dateFormat(now, "expiresHeader", true)

@ctavan ctavan closed this in b5cad98 Mar 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment