Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
when is a date not a date ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 30 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andy C  
View profile  
 More options Sep 14 2008, 3:17 pm
From: Andy C <andyc...@gmail.com>
Date: Sun, 14 Sep 2008 12:17:24 -0700 (PDT)
Local: Sun, Sep 14 2008 3:17 pm
Subject: when is a date not a date ?
I find the design decision to change the data type of the
posts.pubdate column (et al) to an unsigned integer bizarre in the
extreme.

In modern databases, a date is normally represented a date which makes
sense. For example, this change now makes using SQL to select posts
difficult.

I don't doubt PHP has built in functions to convert Unix epoch numbers
to dates and times in lots of formats.

Don't get me wrong - I am now on the latest SVN and like the timezone
support (and scheduled posts) but out of idle curiosity, what was the
rationale for this ?


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew da Silva  
View profile  
 More options Sep 14 2008, 3:26 pm
From: Andrew da Silva <andrewdasi...@mac.com>
Date: Sun, 14 Sep 2008 12:26:55 -0700 (PDT)
Local: Sun, Sep 14 2008 3:26 pm
Subject: Re: when is a date not a date ?
It's quite simple, it's unsigned because Unix epoch can't be negative.

Only problem with using Unix epoch is year 2038 when it will end...

On Sep 14, 3:17 pm, Andy C <andyc...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy C  
View profile  
 More options Sep 14 2008, 3:30 pm
From: Andy C <andyc...@gmail.com>
Date: Sun, 14 Sep 2008 12:30:23 -0700 (PDT)
Local: Sun, Sep 14 2008 3:30 pm
Subject: Re: when is a date not a date ?
I wasn't asking why it is unsigned - I'm asking why a date/time is
being represented as a number.

On Sep 14, 8:26 pm, Andrew da Silva <andrewdasi...@mac.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Meller  
View profile  
 More options Sep 14 2008, 3:34 pm
From: "Chris Meller" <ch...@doesnthaveone.com>
Date: Sun, 14 Sep 2008 15:34:21 -0400
Local: Sun, Sep 14 2008 3:34 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

I think we abandoned DB-native date formats for an INT simply because of
compatibility. It's easier to handle converting to and from INT and date on
the DB side across platforms than handling timezones across platforms.
At least, that's the impression I got and the only rationale I can think of.
I could, of course, be totally wrong.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew da Silva  
View profile  
 More options Sep 14 2008, 3:49 pm
From: Andrew da Silva <andrewdasi...@mac.com>
Date: Sun, 14 Sep 2008 12:49:17 -0700 (PDT)
Local: Sun, Sep 14 2008 3:49 pm
Subject: Re: when is a date not a date ?
Reading back -dev threads, I converted DATETIME and TIMESTAMP to
integer.

Main to reasons I can think of:
- DateTime object needs an strtotime() compatible string.
- Unix epoch makes mathematical manipulation easier and trustable?
- Less code/processing than asking PHP to convert your current date/
time in UTC.

Of course, this was done in a branch at first, to be reviewed.

If people bring forth counter-arguments, no grudge! ;)

On Sep 14, 3:34 pm, "Chris Meller" <ch...@doesnthaveone.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Blake Johnson  
View profile  
 More options Sep 15 2008, 11:15 am
From: Blake Johnson <blakejohnso...@gmail.com>
Date: Mon, 15 Sep 2008 08:15:24 -0700 (PDT)
Local: Mon, Sep 15 2008 11:15 am
Subject: Re: when is a date not a date ?

> I think we abandoned DB-native date formats for an INT simply because of
> compatibility. It's easier to handle converting to and from INT and date on
> the DB side across platforms than handling timezones across platforms.

Right, it solves a bunch of compatibility issues with how various DB
engines store dates. If we simply store integers, then we don't need
to worry about DBs applying their own timezone rules which might be
different than the PHP DateTime rules.

> For example, this change now makes using SQL to select posts
> difficult.

I disagree. It is now easier to do many things in a way which does not
depend on DB vendor-specific syntax. Want all posts from a week ago?
Do something like:

$date = HabariDateTime::date_create( '1 week ago' );
$posts = DB::get_results( 'SELECT * FROM {posts} WHERE pubdate < ?',
array( $date->sql ) );

Or, simply use the built in functions:
$posts = Posts::get( array( 'before' => '1 week ago' ) );

--Blake


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy C  
View profile  
 More options Sep 15 2008, 11:25 am
From: Andy C <andyc...@gmail.com>
Date: Mon, 15 Sep 2008 08:25:37 -0700 (PDT)
Local: Mon, Sep 15 2008 11:25 am
Subject: Re: when is a date not a date ?
You developers tend to think like, well, developers.

I appreciate that from a developer viewpoint, for a plethora of
different reasons, it may well make the implementation (and your
lives) much easier.

Ironically enough, the use of HabariDateTime::date function actually
masks the physical implementation of this object in the schema.

This encapsulation should have helped to implement postdate as a UTC
date and adjust for the configured timezone.

However, from a data modeling viewpoint, implementing a date as a 32-
bit number is horrible. In fact, for a so-called next generation piece
of software, it's embarassing.

You remind me of the Oracle developer who maintained that using a
VARCHAR for a timestamp field was 'no problem'. He could easily tell
me the month, the day, the year, the minute from any given date - in
fact, he could tell me everything.

Well - no problem until I asked him to write me a 'tomorrow()'
function :-)

PS. If I am a mere user using PhpAdmin to access my Habari tables, am
I able to use PHP functions ?

On Sep 15, 4:15 pm, Blake Johnson <blakejohnso...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Owen Winkler  
View profile  
 More options Sep 15 2008, 1:34 pm
From: Owen Winkler <epit...@gmail.com>
Date: Mon, 15 Sep 2008 13:34:52 -0400
Local: Mon, Sep 15 2008 1:34 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

Andy C wrote:

> This encapsulation should have helped to implement postdate as a UTC
> date and adjust for the configured timezone.

Perhaps.

The current implementation doesn't have to deal with PDO returning
text-based values for dates.  Everything starts in an integer format
that can be worked with.  It shouldn't be incumbent upon the datetime
class to account for idiosyncrasies between date storage and output of
each database engine, that should be a function of the data layer.

> However, from a data modeling viewpoint, implementing a date as a 32-
> bit number is horrible. In fact, for a so-called next generation piece
> of software, it's embarassing.

It makes me sad that this email is so critical now.  The schema has been
on the list for months, and the branch has contained this code for weeks
before the recent merge.

To me, it's more important that the software functions efficiently than
it allows native engine function manipulation of date types.  Still, if
there's a way to have database engines return a usable format - one that
isn't returned as a string we have to parse - and allows us to store the
data in a native date format, it may yet be useful to explore it.

Owen


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mitch Pirtle  
View profile  
 More options Sep 15 2008, 1:50 pm
From: "Mitch Pirtle" <mitch.pir...@gmail.com>
Date: Mon, 15 Sep 2008 13:50:42 -0400
Local: Mon, Sep 15 2008 1:50 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

On Mon, Sep 15, 2008 at 1:34 PM, Owen Winkler <epit...@gmail.com> wrote:

> To me, it's more important that the software functions efficiently than
> it allows native engine function manipulation of date types.  Still, if
> there's a way to have database engines return a usable format - one that
> isn't returned as a string we have to parse - and allows us to store the
> data in a native date format, it may yet be useful to explore it.

I like the idea of storing timestamp ints for all dates. It does look
like the best bet for supporting different database platforms, and
actually makes search/retrieval faster while pushing more computation
out to the webserver.

I just launched a high-traffic site for a huge media company here in
Times Square that gets ~40 million page views weekly. I fretted the
entire time about application server performance, especially as it
used a totally object-driven MVC framework. The thing launched and
surprisingly enough, immediately became database bound,
throughput-wise.

It is a LOT easier to throw in more webservers, than it is to throw in
more database servers. Keeping the job on the database simple is a
really smart approach.

-- Mitch


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Meller  
View profile  
 More options Sep 15 2008, 7:14 pm
From: "Chris Meller" <ch...@doesnthaveone.com>
Date: Mon, 15 Sep 2008 19:14:03 -0400
Local: Mon, Sep 15 2008 7:14 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

On Mon, Sep 15, 2008 at 1:50 PM, Mitch Pirtle <mitch.pir...@gmail.com>wrote:

<snip>

It is a LOT easier to throw in more webservers, than it is to throw in

> more database servers. Keeping the job on the database simple is a
> really smart approach.

I agree wholeheartedly. An INT field is fast, you don't have to worry about
different database compatibility, and you don't have to constantly wrap your
queries in some arcane DB-dependent date_format() wrapper, nor do you have
to pick apart text strings.

It may not be the most usable if you're picking through an individual
database manually, but then I don't think that's necessarily the highest
priority here - the percentage of queries based on manual manipulation vs.
automatic page generation is more than a little lopsided. Besides,
normalization sucks for manual manipulation too, but we all take it for
granted...


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael C. Harris  
View profile  
 More options Sep 15 2008, 8:29 pm
From: "Michael C. Harris" <michael.twof...@gmail.com>
Date: Tue, 16 Sep 2008 10:29:33 +1000
Local: Mon, Sep 15 2008 8:29 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

On Mon, Sep 15, 2008 at 08:25:37AM -0700, Andy Cowling wrote:

> However, from a data modeling viewpoint, implementing a date as a 32-
> bit number is horrible. In fact, for a so-called next generation piece
> of software, it's embarassing.

I know nothing of data modelling. Can you explain in words of two
syllables or fewer why this is so bad ? And explain what you think is
the right approach ?

--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brendan Borlase  
View profile  
 More options Sep 15 2008, 11:21 pm
From: "Brendan Borlase" <brendan.borl...@gmail.com>
Date: Tue, 16 Sep 2008 13:51:34 +1030
Local: Mon, Sep 15 2008 11:21 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

On Tue, Sep 16, 2008 at 4:20 AM, Mitch Pirtle <mitch.pir...@gmail.com> wrote:

> I like the idea of storing timestamp ints for all dates. It does look
> like the best bet for supporting different database platforms, and
> actually makes search/retrieval faster while pushing more computation
> out to the webserver.

The DB should be considered a raw data store-house. I'm not some leet
developer, or a massively programatically knowledgeable sod, so let me
put it in the terms that may best illustrate my humble point:

Consider a refrigerator - it keeps things cold and holds them in place. It
stores food in reasonably defined but flexible places.

You don't typically use a fridge to heat your food, or mix it, or fold it into
pretty shapes and serve it out for you. That takes other processes and
tools. When you keep a fridge, a fridge, it means any chef can use
anything else with it.

It remains highly compatible with pretty much any other kitchen tool or
appliance- and, most importantly, remains highly efficient.

When you start building many things into the fridge, or make up rules
about what can go in the fridge, how the fridge should store it, etc - the
bottleneck and feature set becomes all about _the fridge_. Not the chef.
Or his recipes. Or even the kitchen.

If the fridge then starts to become overloaded with tasks, it will eventually
start to fail in doing what it does best. Acting as simple, reliable storage.

My point?

The DB should be just a store. When you start using the DB engine for
computational work, rather than outright in/ out processing, it will slow
the hell down.

Just because you can query every record with * over a 5 million row table,
doesn't mean you should. Sometimes, less is more. Less is also much
much faster. And as we all know - the single worst thing is a slow
DB engine.

Everything _else_ falls apart as a result. The DB is key. Thus the fridge
is important.

So keeping data like dates as generic as well as cross-db-independant
as possible is going to mean Habari doesn't fall down the same endless
pit Wordpress has.

This is a long post. My appologies on that, but Habari is at the point
now where it can have all manner of 'features' that will absolutely KILL
DB performance.

It's critical that, where possible, data (outside of post content, perhaps)
is stored in as simple, un-processed state as possible.

Most web server engines have more than enough features and grunt,
along with PHP, to generate all sorts of content. Keep the load where
it can be scaled and leave the DB to be the fridge. :)

[Is this where I get kicked out for too-many-words illness? :)]

Cheers,

Brendan.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael C. Harris  
View profile  
 More options Sep 15 2008, 11:49 pm
From: "Michael C. Harris" <michael.twof...@gmail.com>
Date: Tue, 16 Sep 2008 13:49:11 +1000
Local: Mon, Sep 15 2008 11:49 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

On Tue, Sep 16, 2008 at 01:51:34PM +1030, Brendan Borlase wrote:

[cleans the fridge]

> [Is this where I get kicked out for too-many-words illness? :)]

No, stop worrying.

--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy C  
View profile  
 More options Sep 17 2008, 2:50 am
From: Andy C <andyc...@gmail.com>
Date: Tue, 16 Sep 2008 23:50:36 -0700 (PDT)
Local: Wed, Sep 17 2008 2:50 am
Subject: Re: when is a date not a date ?
I am not a Habari or PHP developer. Surprisingly, I don't stay up all
night monitoring svn commits. Indeed I am not qualified to do so.

I just thought the design merited some discussion and I am glad I
aired the topic.

For the record, I would have favoured a UTC timestamp with a wrapper
function to adjust for the local timezone.

Unsigned integers work. The functionality works (and more). It doesn't
matter to the end user or most developers. It ain't worth reverting.

There are some arguments for unsigned integers and it is clear a vote
would have confirmed the current decision.

This snippet from the wonderful (and now broken) monthly archives
plugin illustrates the point beautifully

$q= 'SELECT YEAR( p.pubdate ) AS year, MONTH( p.pubdate ) AS month,
COUNT( p.id ) AS cnt
       FROM ' . DB::table( 'posts' ) . ' p
       WHERE p.content_type = ? AND p.status = ?
       GROUP BY year, month
       ORDER BY p.pubdate DESC ' . $limit

Self-documenting, captures all the semantics in five lines, portable
to all database platforms.

Now, obviously, this can be fixed by coding the equivalent in PHP -
it's only 1's and 0's after all but I doubt the solution would be as
concise and elegant.

Oh and please don't tell me integers are better for performance. I
work for Oracle. Databases are here to stay :-)

Habari - the next generation blogging platform (at least until 2038)


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stanley FONG  
View profile  
 More options Sep 17 2008, 5:26 am
From: "Stanley FONG" <sfon...@gmail.com>
Date: Wed, 17 Sep 2008 17:26:26 +0800
Local: Wed, Sep 17 2008 5:26 am
Subject: Re: [habari-dev] Re: when is a date not a date ?

I don't know fully what's happening yet (not sure if this is relevant),
currently latest svn copy broke a custom function (at a test location) to
display posts 1, 2 and 3 years ago (using time() of server) so I'm not
upping the real site yet until dust is settled.

--
See me at http://am.notsowise.net

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rick c  
View profile  
 More options Sep 17 2008, 9:48 am
From: rick c <rickcock...@gmail.com>
Date: Wed, 17 Sep 2008 06:48:04 -0700 (PDT)
Local: Wed, Sep 17 2008 9:48 am
Subject: Re: when is a date not a date ?
Monthly Archives has been updated. It has been tested with SQLite, but
not MySQL or Postgres. It should no longer be broken. If it is, please
reopen the ticket for it. Also note that no php was required in the
query.

As a side note, functions like MONTH, YEAR, UNIX_TIMESTAMP (which is
all that is needed to get the query to work), NOW, etc are *not*
portable to all database platforms. The minute you get beyond the very
basics, translations have to be made.

Rick

On Sep 17, 2:50 am, Andy C <andyc...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rick c  
View profile  
 More options Sep 17 2008, 10:00 am
From: rick c <rickcock...@gmail.com>
Date: Wed, 17 Sep 2008 07:00:17 -0700 (PDT)
Local: Wed, Sep 17 2008 10:00 am
Subject: Re: when is a date not a date ?
Correction, the update uses FROM_UNIXTIME, not UNIX_TIMESTAMP. Sorry.

Rick

On Sep 17, 9:48 am, rick c <rickcock...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Blake Johnson  
View profile  
 More options Sep 17 2008, 2:14 pm
From: Blake Johnson <blakejohnso...@gmail.com>
Date: Wed, 17 Sep 2008 11:14:07 -0700 (PDT)
Local: Wed, Sep 17 2008 2:14 pm
Subject: Re: when is a date not a date ?

> This snippet from the wonderful (and now broken) monthly archives
> plugin illustrates the point beautifully

> $q= 'SELECT YEAR( p.pubdate ) AS year, MONTH( p.pubdate ) AS month,
> COUNT( p.id ) AS cnt
>        FROM ' . DB::table( 'posts' ) . ' p
>        WHERE p.content_type = ? AND p.status = ?
>        GROUP BY year, month
>        ORDER BY p.pubdate DESC ' . $limit

> Self-documenting, captures all the semantics in five lines, portable
> to all database platforms.

I'd just like to point out that YEAR() and MONTH() are MySQL specific
funcitons. So, this query is not portable to all platforms. It
happened to work, previously, because we provided translations for
SQLite and PostgreSQL.

I will also mention that you don't have to write your own query to do
this. It is provided by the API with:
$counts = Posts::get( array( 'month_cts' => 1, 'status' =>
Post::status( 'published' ) ) );

If plugins use our API which abstracts DB details, upgrades will be
much less painful.

--Blake


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy C  
View profile  
 More options Sep 17 2008, 5:34 pm
From: Andy C <andyc...@gmail.com>
Date: Wed, 17 Sep 2008 14:34:23 -0700 (PDT)
Local: Wed, Sep 17 2008 5:34 pm
Subject: Re: when is a date not a date ?
Thanks to Rick for updating a very useful plugin. Much to my surprise,
the required changes were indeed minimal.

Thanks to Blake and Rick for correcting my knowledge.

On Sep 17, 7:14 pm, Blake Johnson <blakejohnso...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stanley FONG  
View profile  
 More options Sep 17 2008, 9:11 pm
From: "Stanley FONG" <sfon...@gmail.com>
Date: Thu, 18 Sep 2008 09:11:37 +0800
Local: Wed, Sep 17 2008 9:11 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

A quick lesson to me please, not capable of having my own sql query nor to
use API yet I'm.

I wrote a little theme function to display posts either 1, 2 or 3 years ago
(with parameters such as a time window, e.g. display posts between 1 year
less 2 weeks to 1 year ...etc).   How do I use the lastest API to do the
same thing?

On Thu, Sep 18, 2008 at 2:14 AM, Blake Johnson <blakejohnso...@gmail.com>wrote:

--
See me at http://am.notsowise.net

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Blake Johnson  
View profile  
 More options Sep 21 2008, 10:14 am
From: Blake Johnson <blakejohnso...@gmail.com>
Date: Sun, 21 Sep 2008 07:14:26 -0700 (PDT)
Local: Sun, Sep 21 2008 10:14 am
Subject: Re: when is a date not a date ?
On Sep 17, 8:11 pm, "Stanley FONG" <sfon...@gmail.com> wrote:

> A quick lesson to me please, not capable of having my own sql query nor to
> use API yet I'm.

> I wrote a little theme function to display posts either 1, 2 or 3 years ago
> (with parameters such as a time window, e.g. display posts between 1 year
> less 2 weeks to 1 year ...etc).   How do I use the lastest API to do the
> same thing?

Hi Stanley,

Posts::get() accepts 'before' and 'after' parameters. So you can do

$begin_date = HabariDateTime::date_create( foo );
$posts = Posts::get( array( 'before' => $begin_date, 'after' =>
$begin_date->modify( '+2 weeks' ) ) );

--Blake


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rick c  
View profile  
 More options Sep 21 2008, 10:30 am
From: rick c <rickcock...@gmail.com>
Date: Sun, 21 Sep 2008 07:30:28 -0700 (PDT)
Local: Sun, Sep 21 2008 10:30 am
Subject: Re: when is a date not a date ?
What parameters it is possible to use with Posts::get(), and how to
use them, really should be documented in the wiki.

Rick

On Sep 21, 10:14 am, Blake Johnson <blakejohnso...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthus Erea  
View profile  
 More options Sep 21 2008, 12:19 pm
From: Arthus Erea <arthus.e...@gmail.com>
Date: Sun, 21 Sep 2008 12:19:25 -0400
Local: Sun, Sep 21 2008 12:19 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?
I started some documentation, but haven't yet finished it.

http://wiki.habariproject.org/en/API/overview

On Sep 21, 2008, at 10:30 AM, rick c wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stanley FONG  
View profile  
 More options Sep 21 2008, 9:18 pm
From: "Stanley FONG" <sfon...@gmail.com>
Date: Mon, 22 Sep 2008 09:18:13 +0800
Local: Sun, Sep 21 2008 9:18 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

Thanks guys,
I'll wait when the documentation is complete and with some examples, at the
moment to hard for 'this fool' to follow the 'foo' example.

--
See me at http://am.notsowise.net

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stanley FONG  
View profile  
 More options Sep 21 2008, 11:59 pm
From: "Stanley FONG" <sfon...@gmail.com>
Date: Mon, 22 Sep 2008 11:59:31 +0800
Local: Sun, Sep 21 2008 11:59 pm
Subject: Re: [habari-dev] Re: when is a date not a date ?

It would be nice if someone would post a quick fix to
$time_ago = intval((time()-strtotime($post->pubdate))/86400)

that would save me from writing the theme functions again.

On Sun, Sep 21, 2008 at 10:14 PM, Blake Johnson <blakejohnso...@gmail.com>wrote:

--
See me at http://am.notsowise.net

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 30   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google