Comments (5)
@havardAasen I'll look at this when I get a chance, but I believe the issue is that I only have the one doc_date
value cached when generating a PS or PDF file. Using a separate UTC value is a possibility...
from htmldoc.
I will note, however, that any document that is generated with a date or time in the header or footer will still end up using the local timezone. Shouldn't be an issue for the HTMLDOC users manual but my proposed fix won't solve your issue with HTMLDOC as a build tool. There you should probably force the timezone setting in the environment (probably to UTC).
from htmldoc.
@michaelrsweet, reading you previous comment, it seems you have a solution in mind?
The only thing I can think of is in the direction of a command-line argument like --utc
, and then just toggle localtime_r
and gmtime_r
. If not entirely elegant, it's at least simple.
from htmldoc.
@havardAasen Yes, set the "TZ" environment variable to "UTC" or "GMT" to get dates and times in UTC. Like I said, this will affect the dates and times in headers/footers as well.
from htmldoc.
[master 8d16a96] Use UTC for PS/PDF metadata (Issue #490)
Changes only affect the metadata. If you put date/time information in the header/footer then you need to set the timezone prior to running htmldoc in order to force UTC vs. local time.
from htmldoc.
Related Issues (20)
- Table row without closing tag no longer rendered correctly HOT 5
- Fonts character set needs an app restart to be applied in case of a second (and more file generation) HOT 3
- Accented characters cause display issues in v1.9 this was OK in v1.8 HOT 3
- Solaris 11.4 Compile: error: ‘struct std::tm’ has no member named ‘tm_gmtoff’ HOT 1
- IMages not showing.. HOT 2
- CSS Support HOT 2
- Encoding breaks for special characters HOT 5
- snap install - missinf fonts and data directory HOT 1
- Empty entry in TOC, when table is added between two H2's HOT 2
- Footer behavior from older version HOT 1
- <pre> tag indent HOT 3
- Default value of print scale HOT 1
- Not found - HTML error 404 downloading image HOT 2
- incorrect href mapping (file://) HOT 1
- why does link mapping add the http server port? HOT 2
- NULL Pointer Dereference (SIGSEGV) HOT 1
- Memory Leak HOT 1
- 1.9.17 libcups is required but not mentioned in docs except release note HOT 3
- Broken links after version 1.9.3 HOT 7
- First page header (--header1) does not work (header is blank) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmldoc.