jEdit Community - Resources for users of the jEdit Text Editor
daylight savings time
Submitted by was8309 on Thursday, 15 March, 2007 - 23:01
in JEdit v4.2, the time displayed in the status bar is not reflecting the new dst change. Insert_Date.bsh also does not, the code is :

Calendar rightNow = Calendar.getInstance();
// zone offset with daylight savings
int zoffset = (rightNow.get(Calendar.ZONE_OFFSET) +
rightNow.get(Calendar.DST_OFFSET)) / 60000;

I'm guessing I don't have a setting correct. By default does Jedit not use the JRE on my machine?
At http://ablogofideas.net/blog/2007/02/19/test-your-java-for-new-daylight-saving-time-changes/ there is a dst checker that I ran and got :

Hello, you are running Sun Microsystems Inc. JVM version: 1.6.0
OLD Daylight Saving Time (DST) dates: Apr 1 - Oct 28
NEW DST dates: Mar 11 - Nov 4
Now (2007-03-15 12:48:39 EDT) DST offset: 1 hours
2007-03-12 01:00:00 EDT DST Offset: 1 hours
2007-04-02 01:00:00 EDT DST Offset: 1 hours
2007-10-27 01:00:00 EDT DST Offset: 1 hours
2007-11-03 01:00:00 EDT DST Offset: 1 hours
.-----------------------------------------------
. Your JVM is OK with the new DST changes .
.-----------------------------------------------

sorry I know very little about java, any advise will be appreciated, thanks.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
daylight savings time
by was8309 on Mon, 19/03/2007 - 18:18
sorry, it was my windows invocation of JEdit that was errant, changing JEdit startups from
"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -jar "C:\Program Files\jEdit\jedit.jar" -reuseview

to

"C:\Program Files\Java\jre1.6.0\bin\javaw.exe" -jar "C:\Program Files\jEdit\jedit.jar" -reuseview

fixed the time.
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293