[Mono-dev] DateTime.Now gives a wrong time
Federico Di Gregorio
fog at initd.org
Wed Oct 12 08:20:37 EDT 2011
On 12/10/11 13:42, k0l0b0k.void at gmail.com wrote:
> Hello. I'm using Mono 2.6.7 (distro) on Debian squeezy, fully up to date, in
> my little enterprise environment.
> Some days ago, I've noticed a strangest behavior - all my services, based on
> mono shows a wrong time on calling DateTime.Now (with a difference of 1 hour
> ago). Any other services (php and RoR-based) gives normal current time.
On my Debian box (using debian packaged Mono) everything is fine.
fog at ania:~$ csharp
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> Console.WriteLine("{0}", DateTime.Now);
12/10/2011 14:18:58
csharp>
fog at ania:~$ date
Wed Oct 12 14:19:04 CEST 2011
Can you show us your env?
federico
--
Federico Di Gregorio fog at initd.org
Ubuntu is an ancient African word meaning "I can't configure Debian".
-- somewhere on IRC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111012/72283372/attachment.bin
More information about the Mono-devel-list
mailing list