Next monday 5pm doesn't work

7 kali dilihat
Langsung ke pesan pertama yang belum dibaca

Darthmahon

belum dibaca,
3 Jul 2008, 04.58.0803/07/08
kepadaDatejs - A JavaScript Date Library
Hi Guys,

Been using DateJS for a while now but noticing some weird things that
I would expect to work, but don't. Heres is a quick list:

"next monday 5pm" = "Monday, July 07, 2008 12:00:00 AM"

"next monday at 5pm" = "Monday, July 07, 2008 12:00:00 AM"

"5pm next monday" = "Monday, July 07, 2008 12:00:00 AM"

"today at 5" = "Thursday, May 01, 2008 12:00:00 AM"

Any ideas why some of these don't format the date properly?

brady8

belum dibaca,
30 Jul 2008, 13.16.5730/07/08
kepadaDatejs - A JavaScript Date Library
I am having the same problem. "today" gives correct response. "3 days
from now" gives the same thing as "today". "2 weeks from now" gives
the same thing as "today". When I have a chance to look at my code
again tonight I'll update it to the latest version on the datejs.com
homepage and see if that makes a difference.

brady8

belum dibaca,
30 Jul 2008, 13.25.3130/07/08
kepadaDatejs - A JavaScript Date Library
Update: it now works as expected after pulling the date.js off of the
datejs.com: http://www.datejs.com/build/date.js.

Best of luck Darthmahon.
> > Any ideas why some of these don't format the date properly?- Hide quoted text -
>
> - Show quoted text -

geoffrey.mcgill

belum dibaca,
30 Jul 2008, 13.29.0230/07/08
kepadaDatejs - A JavaScript Date Library
The latest build is available from SVN (http://www.datejs.com/svn/).
The version on the datejs.com homepage is always the latest build as
well, but SVN will contain all the other culture-specific builds and
most current source code.

Hope this helps.
Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru