Skip to content

Commit

Permalink
Testing Timezone change
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Nov 12, 2024
1 parent 0b707ef commit 57cb8e4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package de.tum.in.www1.hephaestus;

import java.util.TimeZone;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {

public static void main(String[] args) {
System.out.println("Old TimeZone: " + TimeZone.getDefault().toString());
TimeZone.setDefault(TimeZone.getTimeZone("Europe/Berlin"));
System.out.println("New TimeZone: " + TimeZone.getDefault().toString());
SpringApplication.run(Application.class, args);
}
}

0 comments on commit 57cb8e4

Please sign in to comment.