[Tile-serving] [osm2pgsql-dev/osm2pgsql] Date type (Discussion #2299)
Jochen Topf
notifications at github.com
Sat Jan 18 10:11:35 UTC 2025
The only date type in OSM data is the creation timestamp of an OSM object which is given to Lua as a number in seconds since Jan 1 1970. This is compatible to what the Lua `os.time` function returns. There is no native date or time datatype in Lua. All OSM tags are strings, so no date ot time datatype there either.
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2299#discussioncomment-11874351
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2299/comments/11874351 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250118/02ea9fc9/attachment.htm>
More information about the Tile-serving
mailing list