Plugin Directory

Changeset 615967


Ignore:
Timestamp:
10/23/2012 08:02:58 AM (13 years ago)
Author:
mll
Message:
 
Location:
fuzzy-date-and-time-in-french/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fuzzy-date-and-time-in-french/trunk/fuzzy-datetime-fr.php

    r615915 r615967  
    1 <?php
     1<?php
    22/*
    33Plugin Name: Fuzzy DateTime in french
    4 Plugin URI: http://mll2.free.fr/?p=15
     4Plugin URI: https://wordpress.org/extend/plugins/fuzzy-date-and-time-in-french/
    55Description: Prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's <a href="http://wordpress.org/extend/plugins/splees-fuzzy-datetime/">Fuzzy DateTime</a>.
    66Version: 0.8
    77Author: mll
    88Author URI: http://mll2.free.fr/
    9 */
    10 
    11 /* Copyright 2007 mll
    12 
    13 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    14 
    15 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    16 
    17 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     9License: GPL2
     10*/
     11
     12/*  Copyright 2007 mll
     13
     14This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.
     15
     16This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
     17
     18You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    1819*/
    1920
    2021/*
    21 This plugin is a french adaptation of Splee's cool <a href="http://www.splee.co.uk/category/fuzzydate-plugin/">Fuzzy DateTime</a> plugin.
    22 
    2322This plugin contains code from the Time of Day plugin
    2423by Phu Ly & Dunstan Orchard & Michael Heilemann (http://www.ifelse.co.uk/code/timeofday.php)
    2524*/
    26 
    27 /*
    28 ChangeLog:
    29 
    30 0.8
    31     fixed: working informative URLs
    32     fixed: GMT offset problem
    33     added: more complete (but not exhaustive yet) hooks to comments
    34 
    35 0.7
    36     fixed: minor typos
    37     fixed: still some stripslashes problems
    38     no changes :( using hooks
    39 
    40 0.6.FR.2
    41     fixed: one typo corrected ("journé")
    42     changed: now returns (and *does not print*) a string
    43 
    44 0.6.FR.1
    45     added: French adaptation (more than a translation)
    46     fixed: added stripslashes to the admin form values
    47     fixed: maybe some other bugs, I don't remember
    48 
    49 **note: below is Splee's plugin changelog **
    50 
    51 0.6:    (02/05/05) - Updated code with fixes for months being detected 'too literally'
    52     Fixed issue with day/days mode not being detected correctly
    53     Code tidy and optimisation
    54 
    55 0.5:    Fixed issues with admin panel not saving options correctly
    56 
    57 0.4:    Added admin panel functionality
    58 
    59 0.3:    Fixed numerous issues with date calculations
    60     Tidied code and added some meaningful comments
    61 
    62 0.2:    Too much to list!
    63 
    64 0.1:    First implimentation.
    65 */
    66 
    6725
    6826//  ini_set('display_errors', true); //for debugging
     
    8442}
    8543
    86 //add_filter('get_the_time', 'filter_fuzzyDateTime');
     44//(Un)comment at your will. Todo : make this an option.
    8745//add_filter('the_date', 'filter_post_fuzzy_datetime', 999, 4);
    8846//add_filter('the_time', 'filter_post_fuzzy_datetime');
  • fuzzy-date-and-time-in-french/trunk/readme.txt

    r615943 r615967  
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    10 Prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's <a href="http://wordpress.org/extend/plugins/splees-fuzzy-datetime/">Fuzzy DateTime</a>.
     10Prints a fuzzy date and time, similar to the KDE clock, in french.
    1111
    1212== Description ==
    1313
    14 Prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's Fuzzy DateTime.
     14This plugin adds a function that prints a fuzzy date and time, similar to the KDE clock, in french. Adapted from Splee's <a href="http://wordpress.org/extend/plugins/splees-fuzzy-datetime/">Fuzzy DateTime</a>.
    1515
    16 Also provides hooks for the comments dates, but it's pretty rough at the moment.
     16It also provides hooks for the comments dates, but it's pretty rough at the moment.
     17
     18
     19Here's a link to [WordPress](http://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
     20Titles are optional, naturally.
    1721
    1822== Installation ==
     
    3943* fixed: GMT offset problem
    4044* added: more complete (but not exhaustive yet) hooks to comments
     45* fixed: UTF-8 encoding
    4146
    4247= 0.7 =
Note: See TracChangeset for help on using the changeset viewer.