arijuki
Forum Replies Created
-
Hi,
Thanks! I was looking for it only inside tablepress plugin directory, that is why I didn’t find it ??
BR
AriHi,
Thanks, it did help! Where is this information with with custom css and domain stored, as I didn’t find it?
Best Regard,
AriI have had it set to GMT +02:00 Cairo, because there is no Helsinki. Result is:
$now = current_time( ‘timestamp’ ): 1520934388
Using date( “Ymd”, $now ): 20180313
Using date( “D M j G:i:s T Y”, $now ): Tue Mar 13 11:46:28 EET 2018
Using date_i18n( “Ymd”, $now ): 20180313
Using date_i18n( “D M j G:i:s T Y”, $now): ti maalis 13 11:46:28 EET 2018From WordPress settings:
Timezone format: Y-m-d H:i:s
Offset: 2
Timezone string: Europe/Helsinki
Date format: j.n.YTime using timezone_format!
UTC – date_i18n( $timezone_format, false, true ): 2018-03-13 09:46:28
EET – date_i18n( $timezone_format ): 2018-03-13 11:46:28If I change it to GMT Greenwich Mean Time, result is:
$now = current_time( ‘timestamp’ ): 1520934639
Using date( “Ymd”, $now ): 20180313
Using date( “D M j G:i:s T Y”, $now ): Tue Mar 13 9:50:39 GMT 2018
Using date_i18n( “Ymd”, $now ): 20180313
Using date_i18n( “D M j G:i:s T Y”, $now): ti maalis 13 9:50:39 EET 2018From WordPress settings:
Timezone format: Y-m-d H:i:s
Offset: 2
Timezone string: Europe/Helsinki
Date format: j.n.YTime using timezone_format!
UTC – date_i18n( $timezone_format, false, true ): 2018-03-13 07:50:39
EET – date_i18n( $timezone_format ): 2018-03-13 09:50:39Latter is correct according to my understanding. Not really specialist in this area, but I have understood that WordPress internally is using GMT/UTC and with functions like current_time or date_i18n it will be converted to local time. If you set PHP timezone to something else, it is not functioning as it should.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time difference, locale probemProblem solved, this is a plugin conflict. Another plugin must be setting timezone to something else than UTC.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time difference, locale probemThat is because i just changed the domain – https://katjakarjalainen.com/
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time difference, locale probemActually I was playing with locale and offset and now time is right ?? I really don’t know what happened, as nothing was changed except those. Also time on server is correct. I have locale set Helsinki/Europe in WordPress settings.
BUT … The reason I started looking at the problem is that when I am using Mini Widget, at 22.00 in the evening it thinks that it is already next day (you can see it from current-day which is used e.g. for background-color. I thought that the problem would be in that function mentioned above, but perhaps I was wrong. This problem is only visible for two last hours of the day, between 22.00-00.00. Perhaps you have an idea what could cause it?
You can see the Mini Widget here in the footer – https://katja.arijuki.net/ We are not live yet so the address is temporary. I have also removed separate background-color for current day for now.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time difference, locale probemI have VPS and time zone is set to Helsinki, Finland (EET) in both, VPS and WordPress. But for me current time does not seem to work?
Wordpress is telling (again in Finnish, but first UTC and then local):
Koordinoitu yleisaika (UTC) on 2018-03-05 07:06:04. Paikallinen aika on 2018-03-05 09:06:04.I can try to debug if you tell me what to do, this is getting above my skill level ??
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time difference, locale probemLittle more further testing… Also noticed that I made a small mistake above, obviously aI mentioned:
maanantai ma (this is "Sunday su" in Finnish)
should be
maanantai ma (this is "Monday Mo" in Finnish)
So I am not sure if this is locale or what issue, but findings are below.
Using date () instead of current time:
$now2 = date("U");
will result in:
1520206798 maanantai ma 20180305 Mon Mar 5 1:39:58 EET 2018
when current_time() results in:
1520213998 maanantai ma 20180305 Mon Mar 5 3:39:58 EET 2018
There is two hours difference because of something. I am not really an expert coder but my two cents ??
- This reply was modified 7 years ago by arijuki.
One site I manage has been taken down by hosting company because of this. So it has been confirmed to be false positive?
Forum: Fixing WordPress
In reply to: my wordpress content disappeared itselfWordPress 4.5 is having a compatibility issue with Visual Composer.
Issues with Plugins
Visual Composer – Please upgrade to 4.11.2+. The compatibility issue was fixed in Version 4.11 on March 10th:
Forum: Fixing WordPress
In reply to: Problem after I updatedSeems to be jQuery error caused by your theme/plugin. Please contact your developers to resolve it.
Forum: Fixing WordPress
In reply to: New WP Password System is too StrongThat is not standard WP login page. Coming from Plugin?
Forum: Fixing WordPress
In reply to: Excessively slow load time on mobileIt seems the site is not loading at all? I tried, only “white death”.
Forum: Fixing WordPress
In reply to: change the font of posts (titles)Hi,
You are not editing styles.css directly, but are using some wp-custom-css.css file. This will not have the priority now. Edit styles.css directly and should work.
BR
AriForum: Fixing WordPress
In reply to: Can't add featured imageHi,
Have you checked that it is enabled in Screen Options?