Timetravel?! WTF?!

About this bulletin board and the Pale Moon website

Moderators: Lootyhoof, FranklinDM

Locked
KNTRO

Timetravel?! WTF?!

Post by KNTRO » 2016-01-14, 23:30

Watch this!

Image

Check it yourself!

Oh, wait, wait, I see now!
Format character = o
Description = ISO-8601 year number. This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead. (added in PHP 5.1.0)
Example returned values = Examples: 1999 or 2003
[Source]

I had o.m.d_H.i.s set here, but I think the correct setting should be Y.m.d_H.i.s instead. Some PHP savvy could confirm this, please?

ashdav

Re: Timetravel?! WTF?!

Post by ashdav » 2016-01-15, 00:45

Is this a glitch in the system or has this forum gone mad? :wtf:

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29203
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Timetravel?! WTF?!

Post by Moonchild » 2016-01-15, 02:02

The perils of using "custom" and having to rely on a cryptic date template format ;)
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Locked