diff options
author | Akira TAGOH <akira@tagoh.org> | 2014-05-20 20:44:44 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2014-05-20 20:44:44 +0900 |
commit | d0510293344a2105bef1da3bcac4ec719597a7a9 (patch) | |
tree | f2f38bdc1851b4eece9668d8a135731f106f603e /data | |
parent | 3608bb230dfaefcd02c360d5049d0f6a453c282e (diff) |
Add date property to language-subtag-registry.xml
To see what the version is based to generate.
Suggested from Doug Ewell
Diffstat (limited to 'data')
-rw-r--r-- | data/reg2xml.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/reg2xml.c b/data/reg2xml.c index b95f4c9..e1d0bcc 100644 --- a/data/reg2xml.c +++ b/data/reg2xml.c @@ -109,6 +109,10 @@ _parse(const char *filename, in_entry = !file_end; } else { if (!in_entry) { + if (strncmp(buffer, "File-Date: ", 11) == 0) { + printf("%s\n", &buffer[11]); + xmlNewProp(root, (const xmlChar *)"date", (const xmlChar *)&buffer[11]); + } /* ignore it */ continue; } |