Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Concerning time formatting
  • When using Date::time()->format() function, %H and %s send as parameters are interpreted as hours and seconds, but %i is not interpreted at all. Docs seem not to mention time formatting at all. So the question is how to set minutes format? And of course it would be nice if you gave an ability to see the list of available formats as soon as they may differ from what we are used to in php.
  • We haven't invented any new formatting. The format() method uses strftime(), so see http://php.net/manual/en/function.strftime.php
  • oh, thanx. it was my mistake. i had thought about date() format with that 'i' for minutes.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion