Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Repeating calendar events suddenly 1 hour off

views
     
TSwcyly
post Nov 7 2010, 01:18 AM, updated 16y ago

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


All repeating calendar events suddenly became 1 hour later, eg. 1pm weekly repeating event suddenly became 2pm.

Noticed this happened as soon as DST took effect 2 days ago I think, although my time zone setting is GMT +8, Malaysia.

Anyone else got this problem? Can't seem to google for solution. Can't be a yearly problem. What is Google doing lah with something as basic as calendar function.

shahz
post Nov 7 2010, 01:58 AM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


What are your time settings settings? Automatically updating?

Also, what is your language selected in language & keyboards?


Added on November 7, 2010, 2:13 amAlternatively, you can also execute these commands:

setprop persist.sys.timezone Malaysia/Kuala_Lumpur

This post has been edited by shahz: Nov 7 2010, 02:13 AM
TSwcyly
post Nov 7 2010, 10:24 PM

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


QUOTE(shahz @ Nov 7 2010, 01:58 AM)
What are your time settings settings? Automatically updating?

Also, what is your language selected in language & keyboards?


Added on November 7, 2010, 2:13 amAlternatively, you can also execute these commands:

setprop persist.sys.timezone Malaysia/Kuala_Lumpur
*
This is interesting.

To your first question, yes, I have it on "Automatic (Use network-provided values)".

My language setting is "English (United Kingdom)".

Did one of these 2 settings cause the time shift as soon as DST took effect in Europe? Strange if it did that.

Thanks.

Oh BTW, excuse the ignorance, but how do I go about executing this command?:

setprop persist.sys.timezone Malaysia/Kuala_Lumpur

Cheers mate.

This post has been edited by wcyly: Nov 7 2010, 10:29 PM
shahz
post Nov 7 2010, 10:26 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


Did the codes work? Those commands were to set your timezone accurately..
THing is, your time may be set to "automatic", but your timezone might not be correct. You need to switch to manual first, then set the timezone to Malaysia (GMT+8:00), then set it to automatic..
TSwcyly
post Nov 7 2010, 10:32 PM

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


Wah, you replied so fast my modified post did not make it on time. Ha ha.

Anyway, to repeat my novice question, how/where do I execute this command?:

setprop persist.sys.timezone Malaysia/Kuala_Lumpur


Thanks.
shahz
post Nov 7 2010, 10:35 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


You need to execute that command in ADB..or you can use Terminal Emulator which you can get frm market..
spunkberry
post Nov 7 2010, 11:04 PM

危ない人です
Group Icon
Elite
1,890 posts

Joined: Feb 2007


I doubt the language setting would cause your phone to apply DST. check your timezone.
shahz
post Nov 7 2010, 11:05 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


Locale is composed of language and country settings..
TSwcyly
post Nov 7 2010, 11:21 PM

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


QUOTE(shahz @ Nov 7 2010, 10:35 PM)
You need to execute that command in ADB..or you can use Terminal Emulator which you can get frm market..
*
What would I expect to happen after I execute the command. ie. how do I know that the command is or is not working?

Should I expect the calendar repeating events to automatically change themselves to the correct time (which is 1 hour earlier) once I execute the command?


spunkberry
post Nov 7 2010, 11:55 PM

危ない人です
Group Icon
Elite
1,890 posts

Joined: Feb 2007


QUOTE(shahz @ Nov 7 2010, 10:05 AM)
Locale is composed of language and country settings..
*
country settings sure, but isn't the language setting for the interface? So if I decided that I wanted to run my phone in Japanese, it'd adhere to Japan Standard Time? No way!
shahz
post Nov 7 2010, 11:58 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


QUOTE(wcyly @ Nov 7 2010, 11:21 PM)
What would I expect to happen after I execute the command. ie. how do I know that the command is or is not working?

Should I expect the calendar repeating events to automatically change themselves to the correct time (which is 1 hour earlier) once I execute the command?
*
Well, then you shouldn't be seeing the alarms 1 hour difference anymore..That will mean the problem is fixed smile.gif

QUOTE(spunkberry @ Nov 7 2010, 11:55 PM)
country settings sure, but isn't the language setting for the interface? So if I decided that I wanted to run my phone in Japanese, it'd adhere to Japan Standard Time? No way!
*
I never said that ☺ I said Locale is composed of language and country settings. There was one application that changed language settings which was known to affect time issues. Thats why I was asking.
spunkberry
post Nov 8 2010, 12:56 AM

危ない人です
Group Icon
Elite
1,890 posts

Joined: Feb 2007


ah okay I misunderstood then smile.gif
shahz
post Nov 8 2010, 01:02 AM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


Chill bro..no harm done smile.gif we're just helping him..
TSwcyly
post Nov 9 2010, 10:59 AM

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


QUOTE(shahz @ Nov 7 2010, 10:35 PM)
You need to execute that command in ADB..or you can use Terminal Emulator which you can get frm market..
*
Ok, need help here Shahz, I don't know linux and never used terminal emulator before.

So, I've downloaded the free program "Android Terminal Emulator" by Jack Palevich. When the program opens on my phone, it says:

export PATH=/data/local/bin:$PATH
$ $


Questions please:

1. Do I need to first type "su" to get # prompt? (havent tried this yet but briefly did a search on XDA and noticed someone mentioning the su command to get # prompt.)

or do I immediately type "setprop persist.sys.timezone Malaysia/Kuala_Lumpur" right after the $ $ thing.

2. After I execute the "setprop persist.sys.timezone Malaysia/Kuala_Lumpur" command, do I have to do anything specific to exit terminal emulator properly? or just press back button? If "su" command is needed in 1. above, need to type anything specific to exit the "su" permission?


Sorry if these questions appear dumb, but the commands are alien to me and I dont want to stuff up my phone because I did not execute some simple command properly.

Thanks for your help.



On a separate question, you mentioned in your earlier post:

"Well, then you shouldn't be seeing the alarms 1 hour difference anymore..That will mean the problem is fixed smile.gif "

Maybe I'm still half asleep and/or completely clueless, but how does the DST 1 hour off issue affect the alarm? I don't use alarms at all for my events so I'm not sure what to test.

Thanks.




shahz
post Nov 9 2010, 04:02 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


Type su then press enter. This will enter the shell command. Then type the string. Note: when you type su, you might be prompted for super user access. Select Always Allow.

After typing the string, just exit the application. The settings should've taken place by right.

By right DST should not affect our timezone. Sometimes errors just could happen. Check if your time is correct with the local time and set a dummy alarm. See if all is good, that means the command did its trick.
TSwcyly
post Nov 9 2010, 04:52 PM

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


QUOTE(shahz @ Nov 9 2010, 04:02 PM)
Type su then press enter. This will enter the shell command. Then type the string. Note: when you type su, you might be prompted for super user access. Select Always Allow.

After typing the string, just exit the application. The settings should've taken place by right.

By right DST should not affect our timezone. Sometimes errors just could happen. Check if your time is correct with the local time and set a dummy alarm. See if all is good, that means the command did its trick.
*
I have not yet applied the code because I wanted to test out your alarm comment first.

Well, my time zone and alarms work correctly for clock alarm and event alarm. I haven't changed anything. Does that mean there is no need for me to apply the code?

Here is the problem:

I have weekly repeating events entered into my calendar more than a month ago. From what I can see, those weekly events appearing longer than 2 weeks ago are all correctly timed in my calendar. Those same weekly repeating events appearing since 2 weeks ago (ie. since the DST time change in Europe) and continuing into the future are all off by 1 hour.

So, if my time zone settings are already correct based on your alarm test, how to fix the issue above?

Any other thoughts? Thanks.


shahz
post Nov 9 2010, 05:08 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


THe problem is indeed with DST..APplying the code above will force timezone to Malaysia and Kuala Lumpur - which will also turn off DST..
TSwcyly
post Nov 10 2010, 08:58 AM

Getting Started
**
Junior Member
85 posts

Joined: Jan 2003


Shahz,

A couple of questions please:

1. I assume the script above will survive a normal reboot?

2. I am guessing the script will be lost in a factory wipe/reset and will need to be reentered after the factory wipe?

Thanks.
shahz
post Nov 10 2010, 03:42 PM

I have more stars than cleave
******
Senior Member
1,566 posts

Joined: Jun 2007
From: Subang Jaya


1. Yes

2. Yes

 

Change to:
| Lo-Fi Version
0.0211sec    1.04    5 queries    GZIP Disabled
Time is now: 19th December 2025 - 02:05 PM