summaryrefslogtreecommitdiff
path: root/libtmdb/tmdb-models.ice
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2015-01-22 16:22:33 +0000
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2015-01-22 16:22:33 +0000
commitaaa72c0ac06b8a3c555e5797f31a01a12f96349f (patch)
tree5ae01a5df19871cb43abda7b5ba9be82439e6bc8 /libtmdb/tmdb-models.ice
parentIgnore Vim swap files (diff)
downloadp2pvr-aaa72c0ac06b8a3c555e5797f31a01a12f96349f.tar.bz2
p2pvr-aaa72c0ac06b8a3c555e5797f31a01a12f96349f.tar.xz
p2pvr-aaa72c0ac06b8a3c555e5797f31a01a12f96349f.zip
Centralize the conversion specifications
Diffstat (limited to 'libtmdb/tmdb-models.ice')
-rw-r--r--libtmdb/tmdb-models.ice15
1 files changed, 5 insertions, 10 deletions
diff --git a/libtmdb/tmdb-models.ice b/libtmdb/tmdb-models.ice
index 3368b8d..28d9b58 100644
--- a/libtmdb/tmdb-models.ice
+++ b/libtmdb/tmdb-models.ice
@@ -46,8 +46,7 @@ module TMDb {
["slicer:name:original_title"]
string OriginalTitle;
- ["slicer:name:release_date",
- "slicer:conversion:std.string:stringToDate:dateToString"]
+ ["slicer:name:release_date"]
Date ReleaseDate;
["slicer:name:poster_path"]
@@ -75,8 +74,7 @@ module TMDb {
["slicer:name:original_name"]
string OriginalName;
- ["slicer:name:first_air_date",
- "slicer:conversion:std.string:stringToDate:dateToString"]
+ ["slicer:name:first_air_date"]
Date FirstAirDate;
["slicer:name:poster_path"]
@@ -162,8 +160,7 @@ module TMDb {
["slicer:name:production_countries"]
CountryRefList ProductionCountries;
- ["slicer:name:release_date",
- "slicer:conversion:std.string:stringToDate:dateToString"]
+ ["slicer:name:release_date"]
Date ReleaseDate;
["slicer:name:revenue"]
@@ -201,8 +198,7 @@ module TMDb {
["slicer:name:episode_run_time"]
Runtimes EpisodeRunTimes;
- ["slicer:name:first_air_date",
- "slicer:conversion:std.string:stringToDate:dateToString"]
+ ["slicer:name:first_air_date"]
Date FirstAirDate;
["slicer:name:genres"]
@@ -220,8 +216,7 @@ module TMDb {
["slicer:name:languages"]
StringList Languages;
- ["slicer:name:last_air_date",
- "slicer:conversion:std.string:stringToDate:dateToString"]
+ ["slicer:name:last_air_date"]
Date LastAirDate;
["slicer:name:name"]