Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Faker DateTime bug? #1034

Closed
XTRO123 opened this issue Sep 18, 2016 · 4 comments
Closed

Faker DateTime bug? #1034

XTRO123 opened this issue Sep 18, 2016 · 4 comments

Comments

@XTRO123
Copy link

XTRO123 commented Sep 18, 2016

Hi,
I just want to know, is it my mistake? I'm using PHP v7.0.9 on XAMPP (windows 10) and getting error:
web


Code is:
code

__
Same code on Linux works perfect
Please, help!

@fzaninotto
Copy link
Owner

Did you set the default timezone in php.ini?

@XTRO123
Copy link
Author

XTRO123 commented Sep 18, 2016

php.ini:
[Date]
date.timezone = Europe/Moscow

@okj579
Copy link
Contributor

okj579 commented Sep 19, 2016

It looks like this was fixed in #953. Try using the master branch.

@XTRO123
Copy link
Author

XTRO123 commented Sep 19, 2016

I think that it's my error in my project. May be something interfere working with Dates. Faker without something works perfect.

@XTRO123 XTRO123 closed this as completed Sep 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants