/* mdate.c -- Show system date/time in all locales. -*- coding: euc-jp; -*-
- Copyright (C) 2003, 2004
+ Copyright (C) 2003, 2004, 2005, 2006, 2007
National Institute of Advanced Industrial Science and Technology (AIST)
Registration Number H15PRO112
You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
02111-1307, USA. */
/***en
#include <m17n.h>
#include <m17n-misc.h>
-#define VERSION "1.2.0"
-
/* Return a plist of all locales currently avairable on the system.
The keys and values of the plist are locale name symbols and
pointers to MLocale respectively. */
help_exit (argv[0], 0);
else if (! strcmp (argv[i], "--version"))
{
- printf ("m17n-date (m17n library) %s\n", VERSION);
- printf ("Copyright (C) 2003 AIST, JAPAN\n");
+ printf ("m17n-date (m17n library) %s\n", M17NLIB_VERSION_NAME);
+ printf ("Copyright (C) 2003, 2004, 2005, 2006, 2007 AIST, JAPAN\n");
exit (0);
}
else
/* Show the generated M-text by another example program "mview". */
{
- FILE *p = popen ("mview", "w");
+ FILE *p = popen ("m17n-view", "w");
if (!p)
FATAL_ERROR ("%s\n", "Can't run the program mview!");