Author Topic: daylight saving time  (Read 1429 times)

Offline tramp20

  • Expert
  • Master of Locus
  • ****
  • Posts: 581
  • Thanked: 5 times
    • View Profile
daylight saving time
« on: March 29, 2016, 12:53:55 »
Hi menion,
every year we have daylight saving time and every year the timer of the backup manager does not consider this :-(
Sony Xperia Z1c   Android 10
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12461
  • Thanked: 771 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: daylight saving time
« Reply #1 on: March 31, 2016, 06:53:34 »
Good day tramp,

well, timing of backup manager is not very precise and I think that one hour here, one hour there, do not make any difference. I also can't imagine how to handle it correctly, sorry.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline tramp20

  • Expert
  • Master of Locus
  • ****
  • Posts: 581
  • Thanked: 5 times
    • View Profile
Re: daylight saving time
« Reply #2 on: April 01, 2016, 14:30:34 »
I also can't imagine how to handle it correctly, sorry.

Could this help you?
I found this little piece of software:

public boolean isDaylightTime(Calendar now)  {
    return now.getTimeZone().inDaylightTime(now.getTime());
}
Sony Xperia Z1c   Android 10
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12461
  • Thanked: 771 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: daylight saving time
« Reply #3 on: April 01, 2016, 14:42:46 »
nono I know how to get info about daytime etc. I just do not know how to simply apply it into Locus. When I'll do something around backups, I'll keep this in my mind, anyway till then, sorry, but I do not this it is too important. Thanks anyway
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download