GMT and UTC are essentially equivalent time zones. Perhaps you need
"Europe/London" time zone?
Stephen
Stephen Cresswell wrote:
> Hi,
>
> I need to ensure that no matter where our server is located dates are
> always shown in GMT adjusted for daylight savings. I've tried to do this
> with
>
> DateTimeFormatter dtf =
> DateTimeFormat.forPattern('HH:mm').withZone(DateTimeZone.forID('GMT')).withLocale(new
>
> Locale("EN", "gb"))
>
> However if the time in GMT with daylight savings is 05:11, dtf.print(new
> DateTime(UTC)) results in "04:10"
>
> I'd really appreciate it if someone can someone point out where I'm
> going wrong?
>
> Thanks,
>
> Steve
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest