Monticello commit timestamps

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Monticello commit timestamps

Frank Shearar-3
Hi,

It looks like the timestamps in an MCVersionInfo are just chunks of
string. In what timezone are these strings? (I'm waiting for someone
to say "your local timezone" while hoping that "UTC" will be the
answer.)

frank

Reply | Threaded
Open this post in threaded view
|

Re: Monticello commit timestamps

Chris Muller-3
> It looks like the timestamps in an MCVersionInfo are just chunks of
> string.

Hm, what makes you say that?  MCVersionInfo has 'date' and 'time',
instances of Date and Time, respectively..

    MCVersionInfo allInstances detect: [ : e | e date notNil and: [e
date class ~= Date]]    "Object is not in the collection"

Reply | Threaded
Open this post in threaded view
|

Re: Monticello commit timestamps

Frank Shearar-3
On 18 August 2012 19:39, Chris Muller <[hidden email]> wrote:
>> It looks like the timestamps in an MCVersionInfo are just chunks of
>> string.
>
> Hm, what makes you say that?  MCVersionInfo has 'date' and 'time',
> instances of Date and Time, respectively..

I stand corrected: I misunderstood MCVersionInfo >> dateAndTime to
join two strings.

Are they (always) in UTC? Ah, the class comment suggests that they are
indeed in UTC. Hooray!

frank

>     MCVersionInfo allInstances detect: [ : e | e date notNil and: [e
> date class ~= Date]]    "Object is not in the collection"
>