> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Marco Casavecchia Morganti > Sent: woensdag 30 juli 2008 9:20 > To: Hippo CMS development public mailinglist > Subject: Re: [HippoCMS-dev] Publication Date > > Bartosz Oudekerk wrote: > > Ard Schrijvers wrote: > >> Indeed but looking at the format from "1217340166960" I > have no clue > >> what format I am looking at :-) > >> > >> Where did you get it from?? > > > > My guess would be seconds since epoch (excluding leap seconds), the > > standard unix way of encoding time. > > > > '1217340166' corresponds with 'Tue Jul 29 16:02:46 CEST 2008' which > > would be quite a coincidence if that's a made up number... > > Yes! I had the same idea and your handly conversion is right. > > > I'm not sure where the postfixed 960 comes from, but then > again, maybe > > that's why the conversion fails? If it's milliseconds (which I've > > never heard of in conjunction with 'time since epoch'), try > dividing > > it by a thousand first. > > > > I guess the 960 are milliseconds. > I can perform the division by 1000, but what value should i > put into "src-format" attribute to make it work?
I still wonder how you got this format. Since CMS 6.03.05 the format of h:publicationDate has been yyyyMMddHHmm (before it was yyyyMMdd). Did you write a custom workflow? Jasha Joachimsthal www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
