1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug cli importer

Discussion in 'Resolved Bug Reports' started by imthebest, Feb 26, 2014.

  1. imthebest

    imthebest Formerly Super120

    I'm using the cli importer Alpha 2.0 that comes with 1.3 RC 1 (I think it's the same that came with 1.2) and noticed that the script ignores the timezone defined in the server. It says:

    17:47:01 Approximately 10,300 threads remaining to import.

    And it should be:

    12:47:01 Approximately 10,300 threads remaining to import.

  2. tyteen4a03

    tyteen4a03 Well-Known Member

    This is intended behaviour I believe. Screwing with this would mean that all functions relying on the PHP's default date() function to change to the timezone specified by the server, which can lead to a lot of mess if the server moves from one timezone to another.
  3. Mike

    Mike XenForo Developer Staff Member

    We set time zones to GMT by default.

    Also, note that the CLI importer is not supported.

Share This Page