Skip to content

fCalendar's time seems incorrect for some FinCenters

3 messages · Daniel Wolff, Enrico Schumann, Yohan Chalabi

#
i am not an expert in time/date issues, but reading your post and looking a
bit on the web got me interested. the offsets (in seconds) seem to be
defined in the respective financial centre function, eg 

require(fCalendar)
Singapore

where the latest offset should be 27000 sec = 7.5 hours. 

according to http://www.math.nus.edu.sg/aslaksen/teaching/timezone.html the
offset is now 8 hours (28800sec) which seems not to have been in the
tzdata-base used for fCalendar. but again, i am not an expert, maybe there
is a reason for that...


best,enrico 

-----Urspr?ngliche Nachricht-----
Von: r-sig-finance-bounces at stat.math.ethz.ch
[mailto:r-sig-finance-bounces at stat.math.ethz.ch] Im Auftrag von Daniel Wolff
Gesendet: Sonntag, 1. Juni 2008 16:17
An: R-SIG-Finance at stat.math.ethz.ch
Betreff: [R-SIG-Finance] fCalendar's time seems incorrect for some
FinCenters

Hello, 

having some trouble getting Sys.timeDate(x) to return the correct time for
some FinCenters. 

Here is a demonstration:
[[1]]

HongKong

[1] [2008-06-01 23:12:08]

 

[[2]]

Singapore

[1] [2008-06-01 21:42:08]

 

[[3]]

Seoul

[1] [2008-06-02 00:12:08]

 

[[4]]

Tokyo

[1] [2008-06-02 00:12:08]

 

[[5]]

Sydney

[1] [2008-06-02 00:12:08]

 

[[6]]

London

[1] [2008-06-01 15:12:08]

 

[[7]]

NewYork

[1] [2008-06-01 10:12:08]
New York is correct

London is correct

Sydney is correct

but

Tokyo off by +1hr

Singapore is off by -0.5hr

Hong Kong is off by +1hr

Seoul is off by +1hr

 

Any tips on how to correct? 

 

Thank you



_______________________________________________
R-SIG-Finance at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
No virus found in this incoming message.
Checked by AVG. 

31.05.2008
12:25
#
DW> Hello,
   DW> 
   DW> having some trouble getting Sys.timeDate(x) to return the
   DW> correct time for
   DW> some FinCenters.
   DW> 
   DW> Here is a demonstration:


Hi Daniel,

Thanks for the report. 

There was a problem in the function which generates the DST rules. The
last entry ways dropped. 

I fixed it and I will upload to CRAN a new version ASAP.

regards,
Yohan